Skip to content

Commit 152331d

Browse files
committed
Simplifies chunking config
Consolidates the vite build configuration to output a single chunk, simplifying the config and potentially improving build times in some scenarios. The previous manual chunk configuration is removed.
1 parent baa4100 commit 152331d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

console/atest-ui/vite.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ export default defineConfig({
3434
build: {
3535
rollupOptions: {
3636
output: {
37-
// Enable automatic chunk splitting for better performance
38-
manualChunks: {
39-
vue: ['vue'],
40-
'element-plus': ['element-plus'],
41-
vendor: ['@vueuse/core', 'vue-router', 'vue-i18n']
42-
}
37+
manualChunks: () => 'everything'
4338
}
4439
}
4540
},

0 commit comments

Comments
 (0)