Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 944 Bytes

Upgrade-Guide.md

File metadata and controls

21 lines (18 loc) · 944 Bytes

Upgrading to webpack-config v4

  • Ensure webpack is at least v5.
  • Ensure webpack-cli is at least v4.
  • Replace webpack --env.production with webpack --env production.
  • Replace webpack-dev-server --open with webpack serve --open.
  • Migrate to ESM (preferred), or use a "-commonjs" config to continue using CommonJS.

Migrating to ESM