Skip to content

Commit

Permalink
feat: add manual chunking for vis-network-react
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirsamdarshi committed May 4, 2024
1 parent 0626eed commit e7ad0d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ export default defineConfig({
plugins: [react(), visualizer()],
build: {
outDir: 'build',
rollupOptions: {
output: {
manualChunks: {
'vis-network-react': ['vis-network-react'],
}
}
}
},
test: {
globals: true,
Expand Down

0 comments on commit e7ad0d7

Please sign in to comment.