Skip to content

Commit

Permalink
fix(blueprints): remove app root barrel (angular#3530)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
clydin authored and MRHarrison committed Feb 9, 2017
1 parent 00ed4ff commit 6527230
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/angular-cli/blueprints/ng2/files/__path__/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './polyfills.ts';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { environment } from './environments/environment';
import { AppModule } from './app/';
import { AppModule } from './app/app.module';

if (environment.production) {
enableProdMode();
Expand Down

0 comments on commit 6527230

Please sign in to comment.