To allow other plugins to alter the html this plugin executes the following events:
Async:
html-webpack-plugin-before-html-generation
html-webpack-plugin-before-html-processing
html-webpack-plugin-alter-asset-tags
html-webpack-plugin-after-html-processing
html-webpack-plugin-after-emitSync:
html-webpack-plugin-alter-chunks這些事件是何時如何被運行的?大神指條明路唄?
HtmlWebpackPlugin源碼中的Events執行分析?
侃侃爾雅
2018-09-11 13:21:54