Skip to content

Commit

Permalink
chore: remove manual chunking, it makes things worse
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed Jun 26, 2024
1 parent 85205cd commit 3fb6cdc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ export default defineConfig((config) => {
filename: 'build/visualizer.html',
}),
],
output: {
manualChunks(id) {
if (id.includes('@floating-ui')) {
return 'floating-ui';
}
if (id.includes('node_modules')) {
return 'vendor';
}
return 'main';
},
},
},

sourcemap: true,
Expand Down

0 comments on commit 3fb6cdc

Please sign in to comment.