Skip to content

Commit

Permalink
feat: implement a migrator that removes vue-next as it's no longer …
Browse files Browse the repository at this point in the history
…needed (#5725)
  • Loading branch information
sodatea committed Jul 29, 2020
1 parent 57f4184 commit d319007
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/@vue/cli-service/migrator/index.js
@@ -0,0 +1,14 @@
module.exports = (api) => {
if (api.hasPlugin('vue-next')) {
api.extendPackage({
devDependencies: {
'vue-cli-plugin-vue-next': null
}
},
{
prune: true
})

api.exitLog('vue-cli-plugin-vue-next is removed because Vue 3 support has been built into the core plugins.')
}
}

0 comments on commit d319007

Please sign in to comment.