@@ -717,6 +717,7 @@ function hookIntoCompiler (compiler, options, plugin) {
717
717
return jsAssets . map ( scriptAsset => ( {
718
718
tagName : 'script' ,
719
719
voidTag : false ,
720
+ meta : { plugin : 'html-webpack-plugin' } ,
720
721
attributes : {
721
722
defer : options . scriptLoading !== 'blocking' ,
722
723
src : scriptAsset
@@ -733,6 +734,7 @@ function hookIntoCompiler (compiler, options, plugin) {
733
734
return cssAssets . map ( styleAsset => ( {
734
735
tagName : 'link' ,
735
736
voidTag : true ,
737
+ meta : { plugin : 'html-webpack-plugin' } ,
736
738
attributes : {
737
739
href : styleAsset ,
738
740
rel : 'stylesheet'
@@ -755,6 +757,7 @@ function hookIntoCompiler (compiler, options, plugin) {
755
757
return [ {
756
758
tagName : 'base' ,
757
759
voidTag : true ,
760
+ meta : { plugin : 'html-webpack-plugin' } ,
758
761
attributes : ( typeof baseOption === 'string' ) ? {
759
762
href : baseOption
760
763
} : baseOption
@@ -797,6 +800,7 @@ function hookIntoCompiler (compiler, options, plugin) {
797
800
return {
798
801
tagName : 'meta' ,
799
802
voidTag : true ,
803
+ meta : { plugin : 'html-webpack-plugin' } ,
800
804
attributes : metaTagAttributes
801
805
} ;
802
806
} ) ;
@@ -814,6 +818,7 @@ function hookIntoCompiler (compiler, options, plugin) {
814
818
return [ {
815
819
tagName : 'link' ,
816
820
voidTag : true ,
821
+ meta : { plugin : 'html-webpack-plugin' } ,
817
822
attributes : {
818
823
rel : 'icon' ,
819
824
href : faviconPath
0 commit comments