Skip to content

Commit 78e1c4c

Browse files
authored
fix: fix resolve project local plugin's file path (#4095)
Thanks to @SneakyMax See #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}`,
192-
apply: loadModule(file, this.pkgContext)
192+
apply: loadModule(`./${file}`, this.pkgContext)
193193
})))
194194
}
195195

0 commit comments

Comments
 (0)