Skip to content

Commit cf271f6

Browse files
committed
feat: Update vendor and UI libraries in Vite config for improved chunking
1 parent 39b68ea commit cf271f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-test/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export default defineConfig({
3636
'./src/components/Admin/shared/types.ts'
3737
],
3838
// Separate vendor libraries
39-
vendor: ['react', 'react-dom', 'react-router-dom'],
39+
vendor: ['react', 'react-dom', 'react-router-dom', 'react-hot-toast'],
4040
// UI libraries
41-
ui: ['react-hot-toast', 'lucide-react', 'react-icons']
41+
ui: ['lucide-react', 'react-icons']
4242
}
4343
}
4444
},

0 commit comments

Comments
 (0)