mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-18 09:26:28 +08:00
fix(server/esbuild): runtime error due to missing jsdom
This commit is contained in:
parent
1a49a25a7d
commit
306d75e3f3
@ -183,7 +183,7 @@
|
|||||||
"electron",
|
"electron",
|
||||||
"@electron/remote",
|
"@electron/remote",
|
||||||
"better-sqlite3",
|
"better-sqlite3",
|
||||||
"jsdom"
|
"./xhr-sync-worker.js"
|
||||||
],
|
],
|
||||||
"format": [
|
"format": [
|
||||||
"cjs"
|
"cjs"
|
||||||
@ -232,6 +232,11 @@
|
|||||||
"glob": "**/*",
|
"glob": "**/*",
|
||||||
"input": "apps/server/node_modules/file-uri-to-path",
|
"input": "apps/server/node_modules/file-uri-to-path",
|
||||||
"output": "node_modules/file-uri-to-path"
|
"output": "node_modules/file-uri-to-path"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"glob": "xhr-sync-worker.js",
|
||||||
|
"input": "apps/server/node_modules/jsdom/lib/jsdom/living/xhr",
|
||||||
|
"output": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user