aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
blob: f3825fe50cbbbe79226afda1603c1053ec5b71fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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))