1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-16 11:37:13 +02:00
pigallery2/frontend/main.ts

12 lines
361 B
TypeScript
Raw Normal View History

2018-05-07 21:42:32 +02:00
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {enableProdMode} from '@angular/core';
import {environment} from './environments/environment';
import {AppModule} from './app/app.module';
2016-03-12 19:11:19 +02:00
if (environment.production) {
enableProdMode();
}
2016-12-27 00:36:38 +02:00
platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.error(err));
2016-05-04 17:20:21 +02:00