2020-01-07 14:27:10 +00:00
|
|
|
import { enableProdMode } from '@angular/core';
|
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
2020-01-06 21:50:34 +00:00
|
|
|
|
2020-01-07 14:27:10 +00:00
|
|
|
import { AppModule } from './app/app.module';
|
|
|
|
import { environment } from './environments/environment';
|
2020-01-06 21:50:34 +00:00
|
|
|
|
2020-01-07 14:27:10 +00:00
|
|
|
if (environment.production) {
|
|
|
|
enableProdMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
|
|
.catch(err => console.error(err));
|