2018-01-23 11:07:39 +01:00
|
|
|
import { enableProdMode } from '@angular/core';
|
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
|
|
|
|
|
import { AppModule } from './app/app.module';
|
2020-06-11 17:04:35 +02:00
|
|
|
import { properties } from './environments/environment';
|
2018-01-23 11:07:39 +01:00
|
|
|
|
2020-06-11 17:04:35 +02:00
|
|
|
if (properties.environment !== "development") {
|
2018-01-23 11:07:39 +01:00
|
|
|
enableProdMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
2021-07-14 17:41:12 +02:00
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
|
|
.catch(err => console.error(err));
|
2018-01-23 11:07:39 +01:00
|
|
|
});
|