Skip to content

vue.config.js 不生效 #5481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ChesterBu opened this issue May 14, 2020 · 1 comment
Closed

vue.config.js 不生效 #5481

ChesterBu opened this issue May 14, 2020 · 1 comment

Comments

@ChesterBu
Copy link

Version

4.3.1

Reproduction link

https://github.com/ChesterBu/vue-cli-bug

Environment info

node v12.9

Steps to reproduce

npm i
npm run serve

What is expected?

vue.config.js中随意引用了一个错误的文件,应该报错

What is actually happening?

没有执行vue.config.js的配置而执行了默认配置,也没报错


看了下源码是因为错误类型是MODULE_NOT_FOUND,没有抛出

@haoqunjiang
Copy link
Member

Duplicate of #5442

@haoqunjiang haoqunjiang marked this as a duplicate of #5442 May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants