diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 3c7b64d8f..3c2524a20 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.mts similarity index 96% rename from apps/desktop/scripts/rebuild.ts rename to apps/desktop/scripts/rebuild.mts index 5f7d0c6fd..f76cacea5 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));