Browse Source

remove gg-editor in layout chunks

pull/5112/head
陈帅 7 years ago
parent
commit
8459d37f2e
  1. 11
      config/plugin.config.ts

11
config/plugin.config.ts

@ -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;
},

Loading…
Cancel
Save