Project

General

Profile

1
import { enableProdMode } from '@angular/core';
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3

    
4
import { AppModule } from './app/app.module';
5
import { environment } from './environments/environment';
6

    
7
if (environment.production) {
8
  enableProdMode();
9
}
10

    
11
platformBrowserDynamic().bootstrapModule(AppModule)
12
  .catch(err => console.log(err));
(5-5/11)