Skip to content

Commit 72cb52c

Browse files
committed
vite
1 parent 741854a commit 72cb52c

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

vite.config.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,8 @@ export default defineConfig(({ mode }) => ({
1111
plugins: [react()],
1212

1313
build: {
14-
rollupOptions: {
15-
output: {
16-
manualChunks(id) {
17-
if (id.includes('node_modules')) {
18-
return id.toString().split('node_modules/')[1].split('/')[0].toString();
19-
}
20-
}
21-
}
22-
}
14+
15+
2316
},
2417

2518
resolve: {

0 commit comments

Comments
 (0)