Start maybe working on a native app

This commit is contained in:
2026-11-22 17:38:28 -03:00
parent 681d3afb4d
commit a552883795
31 changed files with 1881 additions and 678 deletions
+8
View File
@@ -131,6 +131,14 @@ async function build_client() {
minify: false,
keepNames: true,
});
// the desktop app's client, a deno worker next to main.js so it finds the same chunk worker, see client/native/
await Deno.bundle({
entrypoints: ["./client/native/main.ts"],
outputPath: `${BUILD_FOLDER}/client/native.js`,
platform: "deno",
minify: false,
keepNames: true,
});
await copy("./client/index.html", `${BUILD_FOLDER}/client/index.html`);
}