Start maybe working on a native app
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user