Skip to content

Commit 6e1484a

Browse files
committed
build: remove manual chunking configuration from vite build
1 parent 9ab6b7b commit 6e1484a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

vite.config.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,6 @@ export default defineConfig({
6666
build: {
6767
target: 'esnext',
6868
outDir: 'dist',
69-
rollupOptions: {
70-
output: {
71-
manualChunks(id) {
72-
if (id.includes('node_modules')) {
73-
if (id.includes('react') || id.includes('react-dom')) {
74-
return 'react-vendor';
75-
}
76-
if (id.includes('motion')) {
77-
return 'motion';
78-
}
79-
return 'vendor';
80-
}
81-
},
82-
},
83-
},
8469
},
8570
server: {
8671
port: 3000,

0 commit comments

Comments
 (0)