Skip to content

Commit 6cd7ec0

Browse files
author
Charles Lyding
committed
fix(blueprints): remove app root barrel
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 #3369
1 parent 3d6122a commit 6cd7ec0

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

Lines changed: 0 additions & 2 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
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)