optimization chunk:"all"的默认值如下图
一般不用改
runtimeChunk
遇到的问题:
a.js 暴露 ,index.js 导入 a.js
修改a.js 的hash值,index.js 的hash值也跟着变
需求: 不想 index.js 跟着变
可以这样做,看图: