Skip to content

Commit

Permalink
fix: fix resolve project local plugin's file path (#4095)
Browse files Browse the repository at this point in the history
Thanks to @SneakyMax
See #4014 (comment)

(cherry picked from commit 78e1c4c)
  • Loading branch information
haoqunjiang committed Jun 13, 2019
1 parent 79e4ba4 commit bcc53db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module.exports = class Service {
}
plugins = plugins.concat(files.map(file => ({
id: `local:${file}`,
apply: loadModule(file, this.pkgContext)
apply: loadModule(`./${file}`, this.pkgContext)
})))
}

Expand Down

0 comments on commit bcc53db

Please sign in to comment.