fix(compiler): do not autoinclude components declared as entry points (#10898)
This commit is contained in:
@ -24,7 +24,7 @@ function writeBody(html: string): any {
|
||||
class MyServerApp {
|
||||
}
|
||||
|
||||
@NgModule({imports: [ServerModule], bootstrap: [MyServerApp]})
|
||||
@NgModule({imports: [ServerModule], declarations: [MyServerApp], bootstrap: [MyServerApp]})
|
||||
class ExampleModule {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user