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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmpt-huitu-cli",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "type": "module",
5
5
  "description": "慧图前端项目工程化 CLI 工具",
6
6
  "main": "index.js",
@@ -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
- 'x-vuelib': ['vue', 'vue-router', 'pinia', 'axios', 'lodash-es'],
159
- 'x-eleuilib': ['element-plus'],
160
- 'x-vxetable': ['vxe-table', 'xe-utils'],
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 // 该选项用于内联动态引入,该选项只在单页面应用的时候起作用