We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
easywebpack 工程化方案 dependencies 内置常用的 loader和 plugin,部分默认禁用的loader和 plugin 是没有内置到 dependencies 里面,当开启时,需要用户手动安装依赖。
dependencies
loader
plugin
install:{ npm: 'npm', // 默认是 npm, 可以是 cnpm check: true // 默认为禁用,自动安装缺少的 loader 和 plugin,建议首次 运行成功后,改成 false,加快构建速度 },
easywebpack-cli 已支持 easy install --mode cnpm 安装缺失的依赖
easywebpack-cli
easy install --mode cnpm
代码:
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L337
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L408
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L377
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
easywebpack 工程化方案
dependencies
内置常用的loader
和plugin
,部分默认禁用的loader
和plugin
是没有内置到dependencies
里面,当开启时,需要用户手动安装依赖。已支持情况
easywebpack-cli
已支持easy install --mode cnpm
安装缺失的依赖代码:
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L337
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L408
https://github.com/hubcarl/easywebpack/blob/master/lib/base.js#L377
期望实现
The text was updated successfully, but these errors were encountered: