Closed
Description
Webpack4 is currently in beta has been released, quite some things changed.
Taking a look from the changelog, here is what needs to be done in order to support webpack 4:
- Add a
mode
block, I imagined it something likemode('production', { minimize: false })
sinceYou can configure this in detail with the flags in optimization.* (build your custom mode)
- Update the uglify block, now under
optimization.minimizer[0]
- Update the devServer block (
NamedModulesPlugin
plugin) -
webpack-dev-server
has been deprecated in favour ofwebpack-serve
-
extract-text-webpack-plugin
is deprecated for CSS in favour ofmini-css-extract-plugin
- Upgrade all dependencies (wait for the plugins to release new versions)
thank you! I probably missed something else...
Metadata
Metadata
Assignees
Labels
No labels