Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 75c4184

Browse files
committed
fix: demo with dedupe
1 parent 461c620 commit 75c4184

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

demo/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react';
44
export default defineConfig({
55
plugins: [react()],
66
base: '/',
7+
resolve: {
8+
dedupe: ['react', 'react-dom'],
9+
},
710
});

0 commit comments

Comments
 (0)