Commit edcd87b1 authored by 邓晓峰's avatar 邓晓峰

fix: 修复打包ArcgisMap内存溢出

parent ac3078dd
Pipeline #36903 passed with stages
in 32 minutes 20 seconds
......@@ -46,11 +46,14 @@ module.exports = require('./webpack.base.babel')({
concatenateModules: true,
runtimeChunk: 'single',
splitChunks: {
maxSize: 100 * 1024, // 控制包的最大字节数
minSize: 10 * 1024, // 控制包的最小字节数
cacheGroups: {
vendor: {
chunks: 'all',
minSize: 0,
maxInitialRequests: 35,
maxInitialRequests: 10,
test: /[\\/]node_modules[\\/]/,
name(module) {
const packageName = module.context.match(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment