-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. #1529
Comments
There is a related issue #1523 |
Can you please see if this is fixed with [email protected] ? |
Thank you! I tried it, and then I turned it off. |
|
Sorry it looks like the last release didn't include the full fix - can you please try once again with [email protected] ? |
OK. |
It's being tested. Wait for my good news! |
[email protected] fixes the issue |
Yes, it did. thank you! The author's timely repair. |
Yes, it did. thank you! The author's timely repair. |
This issue will also be closed. |
Looking forward to the update of the official version. |
So, when are you planning to release the |
[email protected] has released!!! |
I have v 5.4.0 and I still have the warning:
|
@jfoclpf this is not caused by the html-webpack-plugin 5.x |
Expected behaviour
When I use webpack 5, there are no warnings.
Current behaviour
When I use webpack 5, there are warnings!!!
(node:1652) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
at G:\SNWS\sn-micro-front-web-project-template\node_modules\html-webpack-plugin\index.js:280:49
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Environment
webpack version: v5.1.2
Node.js version: v14.14.0
Operating System: Windows 10
npm: v6.14.8
html-webpack-plugin: v4.5.0
Config
no
Relevant Links
no
Additional context
no
The text was updated successfully, but these errors were encountered: