2019-03-06 07:38:43 +01:00
|
|
|
import { enableProdMode } from '@angular/core';
|
2018-06-13 18:34:10 +02:00
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
|
|
|
|
|
import { AppModule } from './app/app.module';
|
|
|
|
import { environment } from './environments/environment';
|
|
|
|
|
|
|
|
if (environment.production) {
|
2018-06-19 16:55:50 +02:00
|
|
|
enableProdMode();
|
2018-06-13 18:34:10 +02:00
|
|
|
}
|
|
|
|
|
2018-06-19 16:55:50 +02:00
|
|
|
platformBrowserDynamic()
|
|
|
|
.bootstrapModule(AppModule)
|
|
|
|
.catch(err => console.log(err));
|