YILI | f14d8c4 | 2017-02-24 16:33:35 +0800 | [diff] [blame] | 1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; |
2 | import { enableProdMode } from '@angular/core'; | ||||
3 | import { AppModule } from './app/app.module'; | ||||
4 | if (process.env.ENV === 'production') { | ||||
5 | enableProdMode(); | ||||
6 | } | ||||
7 | platformBrowserDynamic().bootstrapModule(AppModule); |