chore(client): fix excalidraw erroring out due to react

This commit is contained in:
Elian Doran 2025-06-10 21:23:46 +03:00
parent b2b6654846
commit 0f9fe0367a
No known key found for this signature in database

View File

@ -44,6 +44,10 @@ export default defineConfig(() => ({
find: "@triliumnext/highlightjs",
replacement: resolve(__dirname, "node_modules/@triliumnext/highlightjs/dist")
}
],
dedupe: [
"react",
"react-dom"
]
},
// Uncomment this if you are using workers.