pangolinjs / core

The Pangolin.js core that drives everything.
https://pangolinjs.org
Other
19 stars 3 forks source link

Replace deprecated webpack-dev-server configuration #104

Open mvsde opened 3 years ago

mvsde commented 3 years ago

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