mirror of
https://github.com/zadam/trilium.git
synced 2025-10-25 07:17:04 +08:00
chore(client): fix excalidraw erroring out due to react
This commit is contained in:
parent
b2b6654846
commit
0f9fe0367a
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue