[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.

See original GitHub issue

“webpack”: “^5.0.0-rc.3”,

> node --trace-deprecation scripts/build.js

(node:3436) [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 C:\localhost\maxmaxmaximus\node_modules\html-webpack-plugin\index.js:280:49
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:19
  • Comments:29 (10 by maintainers)

github_iconTop GitHub Comments

6reactions
bigskilletcommented, Oct 18, 2020

Alpha.6 seems to have removed the warning for me.

4reactions
yumindeckardcommented, Oct 17, 2020

Same here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compilation.assets will be frozen in future, all modifications ...
I am working on a react project and when I updated webpack 4.44.2 to 5.4.0 I am getting ...
Read more >
2020428 – Dynamic Plugins: Deprecation warning building ...
The following warning is printed when building a plugin: > DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated ...
Read more >
optimizechunkassets is deprecated (use compilation.hooks ...
DeprecationWarning : Compilation.assets will be frozen in future, all modifications are deprecated. Asked Nov 13, 2020 • 8 votes 3 answers. QUESTION ANSWERS....
Read more >
Compilation.assets will be frozen in future, all modifications ...
Coding example for the question DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated-Reactjs.
Read more >
Compilation.assets will be frozen in future_JOEOP_的博客
[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found