mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
refactor(server): separate build config for serve
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
"executor": "@nx/js:node",
|
||||
"defaultConfiguration": "development",
|
||||
"dependsOn": [
|
||||
"build"
|
||||
"build-without-client"
|
||||
],
|
||||
"options": {
|
||||
"buildTarget": "server:build",
|
||||
@@ -124,7 +124,7 @@
|
||||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"buildTarget": "server:build:development"
|
||||
"buildTarget": "server:build-without-client"
|
||||
},
|
||||
"production": {
|
||||
"buildTarget": "server:build:production"
|
||||
@@ -176,7 +176,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"build-without-client": {
|
||||
"executor": "@nx/esbuild:esbuild",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
@@ -220,6 +220,12 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"dependsOn": [
|
||||
"client:build",
|
||||
"build"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user