提交 8459d37f 编写于 作者: 陈帅

remove gg-editor in layout chunks

上级 fa03a3a5
......@@ -64,9 +64,16 @@ export default (config: any) => {
cacheGroups: {
vendors: {
test: (module: { context: string }) => {
const packageName = getModulePackageName(module);
const packageName = getModulePackageName(module) || '';
if (packageName) {
return ['bizcharts', '@antv_data-set'].indexOf(packageName) >= 0;
return [
'bizcharts',
'gg-editor',
'g6',
'@antv',
'gg-editor-core',
'bizcharts-plugin-slider',
].includes(packageName);
}
return false;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册