cmpt-huitu-cli 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -155,9 +155,13 @@ export default defineConfig(({ mode, command }) => {
|
|
|
155
155
|
chunkFileNames: 'assets/js/[name]-[hash].js',
|
|
156
156
|
assetFileNames: 'assets/[ext]/[name]-[hash].[ext]',
|
|
157
157
|
manualChunks: {
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
158
|
+
'vue-vendor': ['vue', 'vue-router', 'pinia'],
|
|
159
|
+
'element-plus': ['element-plus'],
|
|
160
|
+
'element-icons': ['@element-plus/icons-vue'],
|
|
161
|
+
'vxe-table': ['vxe-table', 'xe-utils'],
|
|
162
|
+
'echarts': ['echarts', 'echarts/core', 'echarts/charts', 'echarts/components', 'echarts/renderers'],
|
|
163
|
+
'huitu-ui': ['cmpt-huitu-ui'],
|
|
164
|
+
'utils': ['axios', 'lodash-es', 'cmpt-huitu-utils'],
|
|
161
165
|
},
|
|
162
166
|
experimentalMinChunkSize: 2048, // 该选项用于为代码分割设置一个以字节为单位的最小 chunk 大小
|
|
163
167
|
// inlineDynamicImports: true // 该选项用于内联动态引入,该选项只在单页面应用的时候起作用
|