more_horiz
@angular/ssr/node
CommonEngineOptions
interface
deprecatedsince v22
On this page
API
interface CommonEngineOptions { bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefined; providers?: StaticProvider[] | undefined; enablePerformanceProfiler?: boolean | undefined; allowedHosts?: readonly string[] | undefined;}
bootstrap
Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefinedA method that when invoked returns a promise that returns an ApplicationRef instance once resolved or an NgModule.
enablePerformanceProfiler
boolean | undefinedEnable request performance profiling data collection and printing the results in the server console.
Jump to details