8000 fix: `resolvePluginId` should correctly resolve `@vue/cli-service` (#… · vuejs/vue-cli@44812be · GitHub
[go: up one dir, main page]

Skip to content

Commit 44812be

Browse files
committed
fix: resolvePluginId should correctly resolve @vue/cli-service (#4405)
(cherry picked from commit 4e43c0e)
1 parent 96ab7ae commit 44812be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/@vue/cli-shared-utils/lib/pluginResolution.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ exports.resolvePluginId = id => {
2727
if (pluginRE.test(id)) {
2828
return id
2929
}
30+
31+
if (id === '@vue/cli-service') {
32+
return id
33+
}
34+
3035
if (officialPlugins.includes(id)) {
3136
return `@vue/cli-plugin-${id}`
3237
}

0 commit comments

Comments
 (0)
0