mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(client): fix excalidraw erroring out due to react
This commit is contained in:
parent
b2b6654846
commit
0f9fe0367a
@ -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…
x
Reference in New Issue
Block a user