mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-18 09:26:28 +08:00
fix(server/esbuild): dependencies not bundled
This commit is contained in:
parent
867dd70c02
commit
f859114231
@ -188,6 +188,10 @@
|
|||||||
"outputFileName": "main.js",
|
"outputFileName": "main.js",
|
||||||
"tsConfig": "apps/server/tsconfig.app.json",
|
"tsConfig": "apps/server/tsconfig.app.json",
|
||||||
"platform": "node",
|
"platform": "node",
|
||||||
|
"external": [
|
||||||
|
"electron",
|
||||||
|
"@electron/remote"
|
||||||
|
],
|
||||||
"format": [
|
"format": [
|
||||||
"esm"
|
"esm"
|
||||||
],
|
],
|
||||||
@ -206,6 +210,7 @@
|
|||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
"minify": true,
|
"minify": true,
|
||||||
|
"thirdParty": true,
|
||||||
"assets": [
|
"assets": [
|
||||||
{
|
{
|
||||||
"glob": "**/*",
|
"glob": "**/*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user