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

Replace deprecated webpack-dev-server configuration #104

Open
mvsde opened this issue Aug 26, 2021 · 0 comments
Open

Replace deprecated webpack-dev-server configuration #104

mvsde opened this issue Aug 26, 2021 · 0 comments
Assignees
Labels

Comments

@mvsde
Copy link
Member

mvsde commented Aug 26, 2021

The following deprecation warnings should be fixed:

"hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.

Using 'compiler' as the first argument is deprecated. Please use 'options' as the first argument and 'compiler' as the second argument.

'listen' is deprecated. Please use async 'start' or 'startCallback' methods.

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_*.

@mvsde mvsde self-assigned this Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant