summaryrefslogtreecommitdiffstats
path: root/public/src/main.ts
blob: 91ec6da5f07886cf1d97b5d4212f4ddaa3eb2c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

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

if (environment.production) {
  enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule)
  .catch(err => console.log(err));