Serve the web client from the daemon (#1635)
* Serve the web client from the daemon Keep the bundled browser UI opt-in and exclude it from desktop packaging so desktop builds do not ship a duplicate renderer. * Escape daemon web UI bootstrap hint * Fix bundled web UI dist path
This commit is contained in:
@@ -26,6 +26,12 @@ describe("desktop packaging", () => {
|
||||
expect(config).toContain("!node_modules/@getpaseo/**/*.spec.*");
|
||||
});
|
||||
|
||||
it("excludes the bundled daemon web UI from the packaged app", () => {
|
||||
const config = readFileSync(join(packageRoot, "electron-builder.yml"), "utf8");
|
||||
|
||||
expect(config).toContain("!node_modules/@getpaseo/server/dist/server/web-ui/**");
|
||||
});
|
||||
|
||||
// electron-builder packs production dependencies declared in package.json into
|
||||
// app.asar. Runtime code in runtime-paths.ts and bin/paseo dynamically resolves
|
||||
// these workspace packages by string, so static analysis (TypeScript, Knip) cannot
|
||||
|
||||
Reference in New Issue
Block a user