mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-27 09:23:03 +03:00
increase bundle splitting
This commit is contained in:
@@ -14,6 +14,10 @@ export default defineConfig({
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id: string) {
|
||||
if(id.includes('radix') || id.includes('lucide') || id.includes('vaul')) {
|
||||
return 'ui';
|
||||
}
|
||||
|
||||
if (id.includes('react')) {
|
||||
return 'react';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user