First, reinstall the latest version of @vue/cli globally.
yarn global add @vue/cli
# OR
npm install -g @vue/cli
Then in the projects, run
vue upgrade
Notable Changes
The polyfill logic for modern mode and web components target has been refactored.
The final browser target is now calculated from the intersection of the user-specified browser target and the minimum browser versions that support modern mode / web component.
This means we can now drop many polyfills that are only used for some obsolete evergreen browsers if you are using the default browserslist target (["> 1%", "last 2 versions", "not dead"]), which will greatly reduce the bundle size of modern mode / web component target.
:bug: Bug Fix
@vue/babel-preset-app
#5513 refactor: improve the polyfill importing logic of modern mode (@sodatea)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps @vue/cli-plugin-router from 4.3.1 to 4.4.1.
Release notes
Sourced from @vue/cli-plugin-router's releases.
Changelog
Sourced from @vue/cli-plugin-router's changelog.
Commits
34f303b
v4.4.136b475c
chore: depedency maintenance6323b73
v4.4.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually