If an entry is designated and no package.json found, it’ll prompt to use vite (Vue 3) or parcel (Vue 2) for instant prototyping instead. vue serve/build will be an alias of npm run serve/build.For example, safari-no-module-fix can be dropped when browserslist config does not target those buggy browsers. Enabled by default, with additional modern-only and no-modern CLI options.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. The transpileDependencies option can be set to true to transpile all dependencies in node_modules. A -transpile-all CLI flag to include node_modules for transpiration, as a fail-safe for the transpileDependencies option.Now that we use webpack 5 by default, we can utilize its persistent cache to have a better compilation performance.Other necessary major dependency version bumps, including various webpack loaders and plugins.Webpack 5 (also allows to opt-out to webpack 4), #6060.Here are the rough ideas: Major Dependency Upgrades Development branch: dev, and will be merged to next on each pre-release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |