fix(compiler): do not autoinclude components declared as entry points (#10898)

This commit is contained in:
Victor Savkin
2016-08-19 15:59:50 -07:00
committed by Kara
parent cc0e3d2296
commit c56f3f2246
24 changed files with 42 additions and 45 deletions

View File

@ -20,7 +20,7 @@ export class ErrorComponent {
createError(): void { throw new BaseException('Sourcemap test'); }
}
@NgModule({bootstrap: [ErrorComponent], imports: [BrowserModule]})
@NgModule({declarations: [ErrorComponent], bootstrap: [ErrorComponent], imports: [BrowserModule]})
class ExampleModule {
}