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
|
@@ -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 (
|
|
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 全家桶
|