Sean Condon | ff85fbe | 2019-03-16 14:28:46 +0000 | [diff] [blame] | 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.error(err)); |