Skip to content

Commit 66370e8

Browse files
authored
fix: fix an edge case that VUE_CLI_SERVICE_CONFIG_PATH might be ignored (#5598)
Though, it is still a bad practice to use `VUE_CLI_SERVICE_CONFIG_PATH` in a project with `vue.config.js` closes #5584
1 parent 222477e commit 66370e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vue/cli-service/lib/Service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ module.exports = class Service {
314314
const resolvedPath = p && path.resolve(this.context, p)
315315
if (resolvedPath && fs.existsSync(resolvedPath)) {
316316
fileConfigPath = resolvedPath
317+
break
317318
}
318319
}
319320

0 commit comments

Comments
 (0)