Commit 0fdd7109 authored by guang.wu's avatar guang.wu

fix: 去掉mapvgl

parent ef8d2dc3
......@@ -40,7 +40,7 @@ export default config => {
if (process.env.SENTRY_ENV === 'prod') {
config.plugin('source-map-dev-tool-plugin').use(webpack.SourceMapDevToolPlugin, [
{
exclude: /(antdesigns|vendors|mapvgl).*/, // 以下文件排除不生成
exclude: /(antdesigns|vendors).*/, // 以下文件排除不生成
filename: '[file].map[query]', // 指定map文件名称
},
]);
......@@ -69,13 +69,6 @@ export default config => {
priority: 10,
enforce: true,
},
// 分离geo库
mapvgl: {
name: 'mapvgl',
chunks: 'all',
test: /[\\/]node_modules[\\/](mapvgl|react-bmapgl|react-amap)/,
priority: 11,
},
},
});
};
......
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