Skip to content

Commit

Permalink
fix: do not extract vue.config.js in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 2, 2018
1 parent 1bfd251 commit 7874b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = class Generator {
for (const key in this.pkg) {
extract(key)
}
} else {
} else if (!process.env.VUE_CLI_TEST) {
// by default, extract vue.config.js
extract('vue')
}
Expand Down

0 comments on commit 7874b0e

Please sign in to comment.