Skip to content

Commit

Permalink
fix(blueprints): remove app root barrel (#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 #3369
  • Loading branch information
clydin authored and hansl committed Dec 12, 2016
1 parent 3d6122a commit 3329d46
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 3329d46

Please sign in to comment.