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
当前reSKRipt的策略是,每一个入口可以配一个xxx.config.js文件,但里面只能导出html-webpack-plugin的配置
reSKRipt
xxx.config.js
html-webpack-plugin
有一种场景是,不同的入口需要有不同的产出格式,比如有些入口不要产生hash,有些则要构建成CJS等
为此,我们要扩展一下xxx.config.js的职能,保留现在兼容性的基础上,增加以下逻辑:
entry
html
exports.html
exports.entry
后续在2.0版本中,可以把旧格式的支持删除
The text was updated successfully, but these errors were encountered:
feat(build): 支持自定义入口配置,如指定输出文件名 (#56)
84fa53b
No branches or pull requests
当前
reSKRipt
的策略是,每一个入口可以配一个xxx.config.js
文件,但里面只能导出html-webpack-plugin
的配置有一种场景是,不同的入口需要有不同的产出格式,比如有些入口不要产生hash,有些则要构建成CJS等
为此,我们要扩展一下
xxx.config.js
的职能,保留现在兼容性的基础上,增加以下逻辑:entry
或html
这2个属性,则认为是新的对象结构html-webpack-plugin
的配置要求放在exports.html
中exports.entry
配置webpack entry后续在2.0版本中,可以把旧格式的支持删除
The text was updated successfully, but these errors were encountered: