• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import { enableProdMode } from '@angular/core';
2import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
4import { AppModule } from './app/app.module';
5import { environment } from './environments/environment';
6
7if (environment.production) {
8  enableProdMode();
9}
10
11platformBrowserDynamic().bootstrapModule(AppModule)
12  .catch(err => console.log(err));
13