Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(desktop): adapt to new rebuild script
Elian Doran0b00c73ed3a1
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 3c7b64d8fa..3c2524a203 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -53,7 +53,7 @@"cache": true,"configurations": {"default": {- "command": "cross-env DEBUG=* tsx scripts/rebuild.ts",+ "command": "cross-env DEBUG=* tsx scripts/rebuild.mts","cwd": "{projectRoot}"},"nixos": {diff --git a/apps/desktop/scripts/rebuild.ts b/apps/desktop/scripts/rebuild.mtssimilarity index 96%rename from apps/desktop/scripts/rebuild.tsrename to apps/desktop/scripts/rebuild.mtsindex 5f7d0c6fd3..f76cacea52 100644--- a/apps/desktop/scripts/rebuild.ts+++ b/apps/desktop/scripts/rebuild.mts@@ -8,7 +8,7 @@import { fileURLToPath } from "url";import { dirname, join } from "path";-import rebuild from "@electron/rebuild"+import { rebuild } from "@electron/rebuild"import { readFileSync } from "fs";const scriptDir = dirname(fileURLToPath(import.meta.url));