funky-framadate-front/src/main.ts

14 lines
374 B
TypeScript
Raw Permalink Normal View History

import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
2020-04-21 10:50:26 +02:00
enableProdMode();
}
platformBrowserDynamic()
2020-04-21 10:50:26 +02:00
.bootstrapModule(AppModule)
.catch((err) => console.error(err));