|
@@ -123,27 +123,19 @@ module.exports = {
|
|
reuseExistingChunk: true,
|
|
reuseExistingChunk: true,
|
|
enforce: true
|
|
enforce: true
|
|
},
|
|
},
|
|
- antDesignVue: {
|
|
|
|
- name: 'chunk-ant-design-vue',
|
|
|
|
- test: /[\\/]node_modules[\\/]ant-design-vue[\\/]/,
|
|
|
|
- chunks: 'initial',
|
|
|
|
- priority: 14,
|
|
|
|
- reuseExistingChunk: true,
|
|
|
|
- enforce: true
|
|
|
|
- },
|
|
|
|
echarts: {
|
|
echarts: {
|
|
name: 'chunk-echarts',
|
|
name: 'chunk-echarts',
|
|
test: /[\\/]node_modules[\\/]echarts[\\/]/,
|
|
test: /[\\/]node_modules[\\/]echarts[\\/]/,
|
|
- chunks: 'initial',
|
|
|
|
- priority: 13,
|
|
|
|
|
|
+ chunks: 'all',
|
|
|
|
+ priority: 10,
|
|
reuseExistingChunk: true,
|
|
reuseExistingChunk: true,
|
|
enforce: true
|
|
enforce: true
|
|
},
|
|
},
|
|
- tinymce: {
|
|
|
|
- name: 'chunk-tinymce',
|
|
|
|
- test: /[\\/]node_modules[\\/]tinymce[\\/]/,
|
|
|
|
- chunks: 'initial',
|
|
|
|
- priority: 12,
|
|
|
|
|
|
+ demo: {
|
|
|
|
+ name: 'chunk-demo',
|
|
|
|
+ test: /[\\/]src[\\/]views[\\/]/,
|
|
|
|
+ chunks: 'all',
|
|
|
|
+ priority: 20,
|
|
reuseExistingChunk: true,
|
|
reuseExistingChunk: true,
|
|
enforce: true
|
|
enforce: true
|
|
},
|
|
},
|