Sudarshan Kumar | 1515595 | 2019-12-18 22:32:06 +0530 | [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)); |