Skip to content

Commit d319007

Browse files
authored
feat: implement a migrator that removes vue-next as it's no longer needed (#5725)
1 parent 57f4184 commit d319007

File tree

1 file changed

+14
-0
lines changed
  • packages/@vue/cli-service/migrator

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = (api) => {
2+
if (api.hasPlugin('vue-next')) {
3+
api.extendPackage({
4+
devDependencies: {
5+
'vue-cli-plugin-vue-next': null
6+
}
7+
},
8+
{
9+
prune: true
10+
})
11+
12+
api.exitLog('vue-cli-plugin-vue-next is removed because Vue 3 support has been built into the core plugins.')
13+
}
14+
}

0 commit comments

Comments
 (0)