Skip to content

taro H5 构建 js 目录除了 app.js 以外的 xx.js 如何配置不再生产(合并到app.js)里 #14924

Closed Answered by ZakaryCode
lishengzxc asked this question in Q & A
Discussion options

You must be logged in to vote

这些 chunk 是 web 端动态加载组件依赖生成的,通常来说可以通过 splitChunks 配置达成该需求,详情请查阅 webpack 相关文档;当然也可以通过移除动态 import 来实现(不建议)。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lishengzxc
Comment options

Answer selected by lishengzxc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
2 participants