mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
chore(client): fix excalidraw erroring out due to react
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user