cmpt-huitu-cli 1.0.16 → 1.0.18
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
|
@@ -142,6 +142,7 @@ export default defineConfig(({ mode, command }) => {
|
|
|
142
142
|
// }
|
|
143
143
|
// }
|
|
144
144
|
// : {},
|
|
145
|
+
chunkSizeWarningLimit: 1500, // chunk 大小警告的限制(以 kbs 为单位)
|
|
145
146
|
rollupOptions: {
|
|
146
147
|
// 多页面应用配置,通过自动配置
|
|
147
148
|
input: {
|
|
@@ -158,7 +159,6 @@ export default defineConfig(({ mode, command }) => {
|
|
|
158
159
|
'x-eleuilib': ['element-plus'],
|
|
159
160
|
'x-vxetable': ['vxe-table', 'xe-utils'],
|
|
160
161
|
},
|
|
161
|
-
chunkSizeWarningLimit: 800, // 调整 chunk 大小警告限制到 800kb
|
|
162
162
|
experimentalMinChunkSize: 2048, // 该选项用于为代码分割设置一个以字节为单位的最小 chunk 大小
|
|
163
163
|
// inlineDynamicImports: true // 该选项用于内联动态引入,该选项只在单页面应用的时候起作用
|
|
164
164
|
|