- 
          
- 
        Couldn't load subscription status. 
- Fork 6.3k
Closed
Description
- Development branch: dev, and will be merged to next on each pre-release.
- Documentation: https://next.cli.vuejs.org/migrations/migrate-from-v4.html
Here are the rough ideas:
Major Dependency Upgrades
- Webpack 5 (also allows to opt-out to webpack 4), feat!: support and use webpack 5 as default #6060
- HTML Webpack Plugin 4
- Cypress 6, would be a peer dependency
- Workbox 6
- Jest 26
- Mocha 8
- ESLint 7
- Other necessary major dependency version bumps, including various webpack loaders and plugins
Planned New Features
-  Performance
- Now that we use webpack 5 by default, we can utilize its persistent cache to have a better compilation performance.
 
-  Predicatibility
- AThe- --transpile-allCLI flag to include- node_modulesfor transpiration, as a fail-safe for the- transpileDependenciesoption.- transpileDependenciesoption can be set to- trueto transpile all dependencies in- node_modules. It should be the recommended way to build your app, especially when you are using webpack 5, as the compilation overhead should be tolerable with the persistent cache.
 
-  Modern mode
- Enabled by default, with additional modern-onlyandno-modernCLI options
- A separate polyfillschunk by default
- Better browserslistintegration. For example,safari-no-module-fixcan be dropped whenbrowserslistconfig does not target those buggy browsers.
 
- Enabled by default, with additional 
-  Configuration
- Async config loading
 
Changed Behaviors
-  vue serve/buildwill be an alias ofnpm run serve/build. If an entry is designated and nopackage.jsonfound, it’ll prompt to usevite(Vue 3) orparcel(Vue 2) for instant prototyping instead.
Dropped Features
- Drop support of Node.js 8, 11, 13
- Drop support of TSLint
-  Drop support of node-sass
- Drop support of extension-less Vue SFC imports
- Do not allow creating projects with uppercase names even in Vue CLI UI.
Other Breaking Changes Under Consideration
tony19, xx732395, Amour1688, PineappleAttack, elevatebart and 81 morederaw, santicros, jacekkarczmarczyk, kytosai, adarshmadrecha and 17 moreJenuelDev, msalahz, caryhgq and fsblemosux-engineer, kytosai, adarshmadrecha, SnosMe, Wxh16144 and 10 more
Metadata
Metadata
Assignees
Labels
No labels