Skip to content

Commit 3329d46

Browse files
clydinhansl
authored andcommitted
fix(blueprints): remove app root barrel (angular#3530)
BREAKING CHANGES: The app root module and component must now be imported directly. (e.g., use `import { AppModule } from './app/app.module';` instead of `import { AppModule } from './app/';`) Fixes angular#3369
1 parent 3d6122a commit 3329d46

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/angular-cli/blueprints/ng2/files/__path__/app/index.ts

-2
This file was deleted.

packages/angular-cli/blueprints/ng2/files/__path__/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './polyfills.ts';
33
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
44
import { enableProdMode } from '@angular/core';
55
import { environment } from './environments/environment';
6-
import { AppModule } from './app/';
6+
import { AppModule } from './app/app.module';
77

88
if (environment.production) {
99
enableProdMode();

0 commit comments

Comments
 (0)