How to use the html-webpack-plugin/lib/html-tags.htmlTagObjectToString function in html-webpack-plugin

To help you get started, we’ve selected a few html-webpack-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github egoist / poi / core / poi / lib / plugins / config-html.js View on Github external
return this.map(assetTagObject =>
        htmlTagObjectToString(assetTagObject, xhtml)
      ).join('')
github zuzucheFE / guido / lib / utils / includeAssetsHtmlPlugin.js View on Github external
voidTag: true,
									attributes: {
										rel: 'stylesheet',
										href: url,
									},
								};
							}
							break;
					}

					if (tag.tagName) {
						let file = {
							chunkName,
							url,
							source,
							tag: htmlTags.htmlTagObjectToString(tag, xhtml),
						};
						if (TypeOf.isFunction(inject)) {
							file = inject({
								file,
								compilation,
								tag,
								options: self.options,
							});
						}
						entryPointFiles[extName].push(file);
					}
				});
			});