mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
chore(dx/desktop): get prod build
This commit is contained in:
@@ -3,11 +3,11 @@ import BuildHelper from "../../../scripts/build-utils";
|
||||
const build = new BuildHelper("apps/server");
|
||||
|
||||
async function main() {
|
||||
build.buildBackend([ "src/main.ts", "src/docker_healthcheck.ts" ])
|
||||
await build.buildBackend([ "src/main.ts", "src/docker_healthcheck.ts" ])
|
||||
|
||||
// Copy assets
|
||||
build.copy("src/assets", "assets/");
|
||||
build.copy("../../packages/share-theme/src/templates", "share-theme/templates/");
|
||||
build.copy("/packages/share-theme/src/templates", "share-theme/templates/");
|
||||
|
||||
// Copy node modules dependencies
|
||||
build.copyNodeModules([ "better-sqlite3", "bindings", "file-uri-to-path" ]);
|
||||
|
||||
Reference in New Issue
Block a user