Skip to content
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

DeprecationWarning: Compilation.assets #9

Open
paul-vd opened this issue Nov 7, 2021 · 1 comment
Open

DeprecationWarning: Compilation.assets #9

paul-vd opened this issue Nov 7, 2021 · 1 comment

Comments

@paul-vd
Copy link
Contributor

paul-vd commented Nov 7, 2021

compilation.assets[this.output] = {

On webpack 5

[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_*.
(Use `node --trace-deprecation ...` to show where the warning was created)
@theKashey
Copy link
Owner

It's time to port webpack5 related work from https://github.com/gregberge/loadable-components/tree/main/packages/webpack-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants