调整打包

This commit is contained in:
zyy 2020-10-23 18:07:58 +08:00
parent 4f0f85c60c
commit 8f9e05ad75

View File

@ -171,13 +171,6 @@ module.exports = {
priority: 10, // 缓存组优先级 数字越⼤大,优先级越⾼高 priority: 10, // 缓存组优先级 数字越⼤大,优先级越⾼高
reuseExistingChunk: true // 如果当前代码块包含的模块已经有了,就不在产生一个新的代码块 reuseExistingChunk: true // 如果当前代码块包含的模块已经有了,就不在产生一个新的代码块
}, },
jlmap: {
name: 'split-jlmap',
test: path.resolve(__dirname, './src/jmap'),
priority: 8,
minChunks: 1,
reuseExistingChunk: true
},
jmapNew: { jmapNew: {
name: 'split-jmapNew', name: 'split-jmapNew',
test: path.resolve(__dirname, './src/jmapNew'), test: path.resolve(__dirname, './src/jmapNew'),