Skip to content

Commit fa9ba89

Browse files
authored
simple server for angular CSR (#145)
* Add simple server for angular CST * modify tsconfig to include simple server in dist * listen to the env port
1 parent c7c4afd commit fa9ba89

File tree

9 files changed

+45097
-9
lines changed

9 files changed

+45097
-9
lines changed

package-lock.json

Lines changed: 376 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@apphosting/adapter-angular/src/bin/build.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ describe("build commands", () => {
1818
outputBaseDirectory: resolve(tmpDir, ".apphosting", "dist"),
1919
outputDirectory: resolve(tmpDir, ".apphosting"),
2020
serverFilePath: resolve(tmpDir, ".apphosting", "dist", "server", "server.mjs"),
21+
needsServerGenerated: false,
2122
};
2223
});
2324

packages/@apphosting/adapter-angular/src/interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface OutputPathOptions {
99
outputBaseDirectory: string;
1010
serverFilePath: string;
1111
browserDirectory: string;
12+
needsServerGenerated: boolean;
1213
}
1314

1415
// valid manifest schema

0 commit comments

Comments
 (0)