Closed sw1tchdev closed 3 years ago
Hi sw1tchdev,
thank you very much. The PR looks great. I will test and release it.
Cheers, sagold
There seems to be a problem in the order of the hooks, when using in conjuction with Html-webpack-plugin
.
To my current understanding PROCESS_ASSETS_STAGE_SUMMARIZE
should emit after HtmlWebpackPlugin.getHooks(compilation).beforeEmit
, where the html-partials are registered to hbs. Maybe this is caused by changes in the latest Html-webpack-plugin
.
I will merge this PR and continue testing on develop. Any new release will be announced in issue#78.
Thanks again, for your help!
Ref: #78 Tested with:
Webpack 5.11.0
,Html-webpack-plugin 5.0.0-beta.1
Webpack 4.44.2
,Html-webpack-plugin 4.5.0
Hello, this PR fixed a DeprecationWarning with using Webpack v5. Please check this PR. Also need think about
package.json
, need updatepeerDependencies
forhtml-webpack-plugin
(if you usenpm v7
you can install only with--legacy-peer-deps
flag).