@vue/cli-plugin-webpack-4

@vue/cli-plugin-webpack-4

npm i @vue/cli-plugin-webpack-4

12 Versions

5.0.0-beta.2

next
1 year ago

For a complete guide on migrating from v4 to v5, see https://next.cli.vuejs.org/migrations/migrate-from-v4.html

🚀 New Features
  • @vue/cli-plugin-typescript, @vue/cli-service, @vue/cli-shared-utils, @vue/cli
🐛 Bug Fix
  • @vue/cli-plugin-pwa
    • #6518 fix(pwa): Replace closeTag parameter with voidTag for HtmlWebpackPlugin (@tcitworld)
  • @vue/cli-service
  • @vue/cli-plugin-unit-mocha
    • #6478 fix(mocha): set mode to none to avoid DefinePlugin conflict (@sodatea)
📝 Documentation 🏠 Internal
  • @vue/cli-service
Committers: 6

5.0.0-beta.1

1 year ago
🚀 New Features
  • @vue/cli-service
  • @vue/cli-plugin-unit-mocha
💥 Breaking Changes
  • @vue/cli-ui
    • #6443 fix!: keep project name validation rules in sync between UI and CLI (@sodatea)
🐛 Bug Fix
  • @vue/cli-service
    • #6470 fix(SafariNomoduleFixPlugin): use RawSource instead of a plain object (@KaelWD)
  • @vue/cli-plugin-typescript
    • #6456 fix(typescript): add missing dependencies and require.resolve compiler (@merceyz)
  • @vue/cli-ui
    • #6443 fix!: keep project name validation rules in sync between UI and CLI (@sodatea)
  • @vue/cli-plugin-unit-jest
Committers: 4

5.0.0-beta.0

1 year ago

For a complete guide on migrating from v4 to v5, see https://next.cli.vuejs.org/migrations/migrate-from-v4.html


The following are the changes between 5.0.0-alpha.8 and 5.0.0-beta.0:

💥 Breaking Changes
  • @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6420 feat!: upgrade to css-minimizer-webpack-plugin v2 (@sodatea)
  • @vue/cli-service
    • #6422 feat!: always inject safari-nomodule-fix as an external script; drop --no-unsafe-inline flag (@sodatea)
  • @vue/cli-plugin-babel, @vue/cli-service, @vue/cli-ui
    • #6416 feat!: turn on modern mode by default, and provide a --no-module option (@sodatea)
🚀 New Features
  • @vue/cli-plugin-typescript
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6420 feat!: upgrade to css-minimizer-webpack-plugin v2 (@sodatea)
  • @vue/cli-service
    • #6422 feat!: always inject safari-nomodule-fix as an external script; drop --no-unsafe-inline flag (@sodatea)
    • #6285 feat(cli-service): provide jsconfig.json in no-ts template (@yoyo930021)
    • #5997 feat(cli-service): add inline loader support for html-webpack-plugin (@ylc395)
  • @vue/babel-preset-app, @vue/cli-service
    • #6419 feat: only needs one bundle if all targets support es module (@sodatea)
  • @vue/cli-plugin-babel, @vue/cli-service, @vue/cli-ui
    • #6416 feat!: turn on modern mode by default, and provide a --no-module option (@sodatea)
  • @vue/cli-plugin-typescript, @vue/cli-service
🐛 Bug Fix
  • @vue/cli-ui
  • @vue/cli-service
  • @vue/cli-plugin-unit-jest
    • #6418 Show fallback message for typescript jest preset if ts-jest is not in… (@m0ksem)
  • @vue/cli-plugin-unit-mocha
📝 Documentation
  • #6438 docs: add modern mode changes to the migration guide (@sodatea)
Committers: 8

5.0.0-alpha.8

1 year ago
🚀 New Features
  • @vue/cli-plugin-babel, @vue/cli-service
    • #6354 feat: when transpileDependencies is set to true, transpile all dependencies in node_modules (@sodatea)
  • @vue/cli-service
    • #6355 feat: a defineConfig API from @vue/cli-service for better typing support in vue.config.js (@sodatea)
💥 Breaking Changes
  • @vue/cli-service
  • @vue/cli-plugin-unit-jest
    • #6347 refactor!: move vue-jest and ts-jest to peer dependencies (@sodatea)
🐛 Bug Fix
  • @vue/cli-service
Committers: 4

5.0.0-alpha.7

1 year ago
🐛 Bug Fix
  • @vue/cli-service
    • #6343 fix: use cssnano v5.0.0-rc.1, work around a npm 6 hoisting bug (@sodatea)
Committers: 1

5.0.0-alpha.6

1 year ago
💥 Breaking Changes 🐛 Bug Fix Committers: 2

5.0.0-alpha.5

1 year ago

Documentations available at https://next.cli.vuejs.org/

💥 Breaking Changes
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6301 feat!: use the latest versions of css preprocessor loaders by default (@sodatea)
  • @vue/cli-plugin-e2e-webdriverio, @vue/cli-plugin-typescript
  • @vue/cli-service, @vue/cli-ui, @vue/cli
🚀 New Features
  • @vue/cli-plugin-webpack-4, @vue/cli
    • #6307 feat(GeneratorAPI): forceOverwrite option for extendPackage (@sodatea)
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6301 feat!: use the latest versions of css preprocessor loaders by default (@sodatea)
  • @vue/cli-plugin-e2e-webdriverio, @vue/cli-plugin-typescript
🐛 Bug Fix
  • @vue/cli-plugin-e2e-webdriverio, @vue/cli-plugin-typescript
    • #6309 fix(webdriverio): add expect-webdriverio to tsconfig (@sodatea)
  • @vue/cli-shared-utils
  • @vue/cli
    • #6304 fix(generator): support npm package aliases ("@npm:" in version specifier) (@nuochong)
    • #6303 fix(create): write the lint-staged config to its own file (Closes #6298) (@HexPandaa)
  • @vue/babel-preset-app, @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-e2e-webdriverio, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex, @vue/cli-plugin-webpack-4, @vue/cli-service, @vue/cli-shared-utils, @vue/cli-test-utils, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui, @vue/cli
    • #6291 fix: better dev server & webpack 4 compatibility and some trivial dependency updates (@sodatea)
Committers: 4

5.0.0-alpha.4

2 years ago
🚀 New Features
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6279 feat!: update copy & terser plugin, move more legacy code to webpack-4 plugin (@sodatea)
  • @vue/cli-plugin-babel, @vue/cli-plugin-pwa, @vue/cli-plugin-webpack-4, @vue/cli-service
  • @vue/cli-plugin-typescript
    • #6235 feat(typescript): add useDefineForClassFields option in tsconfig template (@ktsn)
💥 Breaking Changes
  • @vue/cli-plugin-webpack-4, @vue/cli-service
    • #6279 feat!: update copy & terser plugin, move more legacy code to webpack-4 plugin (@sodatea)
  • @vue/cli-plugin-babel, @vue/cli-plugin-pwa, @vue/cli-plugin-webpack-4, @vue/cli-service
🐛 Bug Fix
  • @vue/cli-plugin-pwa
    • #6277 fix(cli-plugin-pwa): webpack5 warning for emitting manifest.json (@awill1988)
  • @vue/cli-service
    • #6230 fix: mini-css-extract-plugin publicPath option can be an absolute path (@Veath)
    • #6221 fix(cli-service): avoiding recreating dist directory (@fangbinwei)
🏠 Internal Committers: 7

5.0.0-alpha.3

2 years ago
🚀 New Features
  • @vue/cli-plugin-pwa
  • @vue/cli-service
    • #6187 feat!: bump default sass-loader version to v10, drop sass-loader v7 support (@sodatea)
  • @vue/cli-ui, @vue/cli
💥 Breaking Changes
  • @vue/cli-service
    • #6187 feat!: bump default sass-loader version to v10, drop sass-loader v7 support (@sodatea)
🐛 Bug Fix
  • @vue/cli-service, @vue/cli-shared-utils
    • #5794 fix(cli): resolve plugins relative to the package context (@merceyz)
  • @vue/cli
  • @vue/cli-service
    • #6218 fix: "commonjs2" target should not be used with "output.library" (@sodatea)
  • @vue/cli-plugin-unit-mocha
    • #6215 fix(unit-mocha): shouldn't require webpack-4 plugin with cli-service v4 (@sodatea)
  • @vue/cli-ui
    • #6192 fix: should use graphql v15 at all levels of dependency (@sodatea)
🏠 Internal
  • @vue/cli-plugin-babel
    • #6222 chore: disable cacheCompression for babel-loader by default (@sodatea)
  • @vue/cli-ui
    • #6189 refactor: fix eslint warnings in the cli-ui codebase (@sodatea)
Committers: 5

5.0.0-alpha.2

2 years ago
5.0.0-alpha.2 (2021-01-06) 🚀 New Features
  • @vue/cli
🐛 Bug Fix
  • @vue/cli-plugin-pwa
    • #5327 fix pwa installability when using noopServiceWorker "Page does not work offline" (@kubenstein)
  • @vue/cli-plugin-unit-mocha
    • #6186 fix(mocha): workaround the ShadowRoot issue in Vue 3.0.5 (@sodatea)
  • @vue/cli-service
    • #6162 fix(cli-service): restrict request headers of historyApiFallback in WebpackDevServer (@githoniel)
  • @vue/cli-plugin-unit-jest
  • @vue/cli
📝 Documentation 🏠 Internal
  • @vue/cli-plugin-eslint, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-service, @vue/cli-test-utils, @vue/cli-ui, @vue/cli
Committers: 11

5.0.0-alpha.1

2 years ago

The content of this release is broken. Please ignore this version.


5.0.0-alpha.0

2 years ago

This release contains mostly internal updates. Vue CLI now uses webpack 5 by default; most underlying packages have been updated to their latest versions.

For more upcoming new features, see the plan at https://github.com/vuejs/vue-cli/issues/6064

For a full list of breaking changes, see https://next.cli.vuejs.org/migrations/migrate-from-v4.html#breaking-changes.

Aside from the dependency updates and thus inevitable breaking changes, this release also includes these bugfixes:

  • @vue/cli
    • #5921 fix(cli): only process template file contents, bump yaml-front-matter… (@ferm10n)
  • @vue/cli-service
    • #6101 fix(cli-service): don't write entry-wc to node_modules (@merceyz)
  • @vue/cli-plugin-unit-mocha, @vue/cli-service
    • #6097 fix(mocha): disable SSR optimization for Vue 3 testing (@sodatea)
  • @vue/cli-ui
    • #6000 fix: prevent snoretoast shortcut, set notif title (#2720) (@tony19)
  • @vue/cli-service
    • #5992 fix: using lang attribute with empty string in html template (@fangbinwei)
  • @vue/cli-plugin-typescript

Known issues:

  • The preload/prefetch plugins are disabled for now, we'll re-enable them after migrating them to webpack 5;
  • The mocha plugin needs to use webpack 4 as mochapack is still working on its support for webpack 5

Committers: 19

12 Versions

TagPublished
5.0.0-beta.2next1yr ago
5.0.0-beta.11yr ago
5.0.0-beta.01yr ago
5.0.0-alpha.81yr ago
5.0.0-alpha.71yr ago
5.0.0-alpha.61yr ago
5.0.0-alpha.51yr ago
5.0.0-alpha.42yrs ago
5.0.0-alpha.32yrs ago
5.0.0-alpha.22yrs ago
5.0.0-alpha.12yrs ago
5.0.0-alpha.02yrs ago