Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
20.3.0-rc.0 source code.tar.gz | 2025-09-10 | 53.7 MB | |
20.3.0-rc.0 source code.zip | 2025-09-10 | 58.6 MB | |
README.md | 2025-09-10 | 1.3 kB | |
Totals: 3 Items | 112.2 MB | 4 |
Before:
ts
const bootstrap = () => bootstrapApplication(AppComponent, config);
After:
ts
const bootstrap = (context: BootstrapContext) =>
bootstrapApplication(AppComponent, config, context);
A schematic is provided to automatically update main.server.ts
files to pass the BootstrapContext
to the bootstrapApplication
call.
In addition, getPlatform()
and destroyPlatform()
will now return null
and be a no-op respectively when running in a server environment.
(cherry picked from commit 8bf80c9d2314b4f2bcf3df83ae01552a6fc49834)