Skip to content

Support for webpack 4 #255

Closed
Closed
@marcofugaro

Description

@marcofugaro

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 like mode('production', { minimize: false }) since

    You 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 of webpack-serve
  • extract-text-webpack-plugin is deprecated for CSS in favour of mini-css-extract-plugin
  • Upgrade all dependencies (wait for the plugins to release new versions)

thank you! I probably missed something else...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions