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

请求增强 H5 侧 Webpack 的可配置性 #357

Closed
kenberkeley opened this issue Jul 20, 2018 · 3 comments
Closed

请求增强 H5 侧 Webpack 的可配置性 #357

kenberkeley opened this issue Jul 20, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kenberkeley
Copy link

目前 Webpack 的主要配置都藏在 node_modules/@tarojs/webpack-runner/dist/ 下的 config/utils/index.js - patchCustomConfig,可配置度相对较低且较为零散。例如,目前无法给编译出来的 CSS 加哈希,我只能这样子操作:

image

实在有太多不能配置的项,举个例子:

image

@yuche yuche assigned yuche and Littly and unassigned Littly and yuche Jul 20, 2018
@yuche yuche added the enhancement New feature or request label Jul 20, 2018
@Littly
Copy link
Contributor

Littly commented Jul 20, 2018

感谢反馈~ 确实是考虑到高度自定义的需求才加入了函数式的webpack配置 看来还是有盲区 拿小本本记下了..

@kenberkeley
Copy link
Author

盲区太多,而且把 Webpack 配置藏起来没有意义,不妨参考 vue-cli 那样可以任由用户配置

@stale
Copy link

stale bot commented Oct 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 24, 2018
@stale stale bot closed this as completed Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants