Skip to content

Commit 0f9fe03

Browse files
committed
chore(client): fix excalidraw erroring out due to react
1 parent b2b6654 commit 0f9fe03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/client/vite.config.mts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export default defineConfig(() => ({
4444
find: "@triliumnext/highlightjs",
4545
replacement: resolve(__dirname, "node_modules/@triliumnext/highlightjs/dist")
4646
}
47+
],
48+
dedupe: [
49+
"react",
50+
"react-dom"
4751
]
4852
},
4953
// Uncomment this if you are using workers.

0 commit comments

Comments
 (0)