Skip to content
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

暴露配置信息 #19

Closed
devilJoker9 opened this issue Dec 1, 2020 · 3 comments
Closed

暴露配置信息 #19

devilJoker9 opened this issue Dec 1, 2020 · 3 comments

Comments

@devilJoker9
Copy link
Contributor

大佬,是否可以把这个config暴露出来,跟vue.config.js里配置内容一样配置?
image

@flyyuan
Copy link
Contributor

flyyuan commented Dec 2, 2020

  1. 该 config 已经是处于暴露的状态,可以修改里面对象达到你的目的。
  2. 可以不使用默认 config,去掉 withFrameWork(),重新配置。
  3. vue.config.js 是与该 config 不一样的。
  4. 虽然与 vue.config.js 不一致,但是功能已经完全覆盖。

@ckken
Copy link
Contributor

ckken commented Dec 2, 2020

hello! 目前是用 https://github.com/neutrinojs/webpack-chain 作为配置库 所以如果想增加的配置 只需按照 webpack chain 的规范就可以

@devilJoker9
Copy link
Contributor Author

收到,大佬们,我是这配一下

@flyyuan flyyuan closed this as completed Dec 5, 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

3 participants