mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-12 20:19:55 -05:00
fix: resolvePluginId should correctly resolve @vue/cli-service (#4405)
This commit is contained in:
@@ -27,6 +27,11 @@ exports.resolvePluginId = id => {
|
||||
if (pluginRE.test(id)) {
|
||||
return id
|
||||
}
|
||||
|
||||
if (id === '@vue/cli-service') {
|
||||
return id
|
||||
}
|
||||
|
||||
if (officialPlugins.includes(id)) {
|
||||
return `@vue/cli-plugin-${id}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user