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', () => {
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule);
|
|
|
|
});
|