Skip to content

Commit

Permalink
fix: fix an edge case that VUE_CLI_SERVICE_CONFIG_PATH might be ignor…
Browse files Browse the repository at this point in the history
…ed (#5598)

Though, it is still a bad practice to use `VUE_CLI_SERVICE_CONFIG_PATH`
in a project with `vue.config.js`

closes #5584
  • Loading branch information
sodatea committed Jun 22, 2020
1 parent 222477e commit 66370e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vue/cli-service/lib/Service.js
Expand Up @@ -314,6 +314,7 @@ module.exports = class Service {
const resolvedPath = p && path.resolve(this.context, p)
if (resolvedPath && fs.existsSync(resolvedPath)) {
fileConfigPath = resolvedPath
break
}
}

Expand Down

0 comments on commit 66370e8

Please sign in to comment.