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 vuejs/vue-cli#4014 (comment)
  • Loading branch information
haoqunjiang authored Jun 4, 2019
1 parent 0b3c346 commit 12b36d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 12b36d9

Please sign in to comment.