Skip to content

Commit 244d8d3

Browse files
committed
fix: #760, #761
1 parent 1e79903 commit 244d8d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vite.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ export default defineConfig({
7575
if (id.includes('lucide-react')) {
7676
return 'icons'
7777
}
78+
79+
if (
80+
id.includes("node_modules/react-dom") ||
81+
id.includes("node_modules/react/")
82+
) {
83+
return "react";
84+
}
7885
}
7986
},
8087
},

0 commit comments

Comments
 (0)