DHBW-RaPla-Vorratsdatenspei.../Frontend/src/main.ts

13 lines
368 B
TypeScript
Raw Normal View History

import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
2021-09-19 18:19:20 +00:00
import {AppModule} from './app/app.module';
import {environment} from './environments/environment';
2021-09-19 18:19:20 +00:00
if (environment.production) {
enableProdMode();
2021-09-19 18:19:20 +00:00
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));