@@ -717,6 +717,7 @@ function hookIntoCompiler (compiler, options, plugin) {
717717 return jsAssets . map ( scriptAsset => ( {
718718 tagName : 'script' ,
719719 voidTag : false ,
720+ meta : { plugin : 'html-webpack-plugin' } ,
720721 attributes : {
721722 defer : options . scriptLoading !== 'blocking' ,
722723 src : scriptAsset
@@ -733,6 +734,7 @@ function hookIntoCompiler (compiler, options, plugin) {
733734 return cssAssets . map ( styleAsset => ( {
734735 tagName : 'link' ,
735736 voidTag : true ,
737+ meta : { plugin : 'html-webpack-plugin' } ,
736738 attributes : {
737739 href : styleAsset ,
738740 rel : 'stylesheet'
@@ -755,6 +757,7 @@ function hookIntoCompiler (compiler, options, plugin) {
755757 return [ {
756758 tagName : 'base' ,
757759 voidTag : true ,
760+ meta : { plugin : 'html-webpack-plugin' } ,
758761 attributes : ( typeof baseOption === 'string' ) ? {
759762 href : baseOption
760763 } : baseOption
@@ -797,6 +800,7 @@ function hookIntoCompiler (compiler, options, plugin) {
797800 return {
798801 tagName : 'meta' ,
799802 voidTag : true ,
803+ meta : { plugin : 'html-webpack-plugin' } ,
800804 attributes : metaTagAttributes
801805 } ;
802806 } ) ;
@@ -814,6 +818,7 @@ function hookIntoCompiler (compiler, options, plugin) {
814818 return [ {
815819 tagName : 'link' ,
816820 voidTag : true ,
821+ meta : { plugin : 'html-webpack-plugin' } ,
817822 attributes : {
818823 rel : 'icon' ,
819824 href : faviconPath
0 commit comments