1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/src/frontend/main.ts

13 lines
376 B
TypeScript
Raw Normal View History

2022-04-05 01:37:31 +08: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-13 01:11:19 +08:00
if (environment.production) {
enableProdMode();
2019-07-21 23:26:23 +08:00
}
2016-05-04 23:20:21 +08:00
2022-04-05 01:37:31 +08:00
platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch((err) => console.error(err));