8000 fix: fix resolve project local plugin's file path (#4095) · NataliaTepluhina/vue-cli@78e1c4c · GitHub
[go: up one dir, main page]

Skip to content

Commit 78e1c4c

Browse files
authored
fix: fix resolve project local plugin's file path (vuejs#4095)
Thanks to @SneakyMax See vuejs#4014 (comment)
1 parent 2fa9f5b commit 78e1c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/Service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ module.exports = class Service {
189189
}
190190
plugins = plugins.concat(files.map(file => ({
191191
id: `local:${file}`,
1 52FC 92-
apply: loadModule(file, this.pkgContext)
192+
apply: loadModule(`./${file}`, this.pkgContext)
193193
})))
194194
}
195195

0 commit comments

Comments
 (0)
0