cmpt-huitu-cli 1.0.20 → 1.0.21

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.20",
3
+ "version": "1.0.21",
4
4
  "type": "module",
5
5
  "description": "慧图前端项目工程化 CLI 工具",
6
6
  "main": "index.js",
@@ -156,7 +156,12 @@ export default defineConfig(({ mode, command }) => {
156
156
  assetFileNames: 'assets/[ext]/[name]-[hash].[ext]',
157
157
  manualChunks(id) {
158
158
  // ECharts 及其依赖
159
- if (id.includes('node_modules/echarts') || id.includes('node_modules/zrender')) {
159
+ if (
160
+ id.includes('node_modules/echarts') ||
161
+ id.includes('node_modules/zrender') ||
162
+ id.includes('@huitu-dev/chart-plus-dev') ||
163
+ id.includes('@huitu-dev/map-plus-dev')
164
+ ) {
160
165
  return 'echarts'
161
166
  }
162
167
  // Vue 全家桶