blob: cf76512894864cc984bf4395f9a00ccbd2242762 [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001import { enableProdMode } from '@angular/core';
2import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
4import { OnosModule } from './app/onos.module';
5import { environment } from './environments/environment';
6
7if (environment.production) {
8 enableProdMode();
9}
10
11platformBrowserDynamic().bootstrapModule(OnosModule)
12 .catch(err => console.log(err));