2019-01-09 12:05:23 +01:00
|
|
|
import { enableProdMode } from '@angular/core';
|
|
|
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
|
|
|
|
|
|
import { AppModule } from './app/app.module';
|
2020-06-11 17:34:42 +02:00
|
|
|
import { properties } from './environments/environment';
|
2019-01-09 12:05:23 +01:00
|
|
|
|
2020-06-11 17:34:42 +02:00
|
|
|
if (properties.environment !== "development") {
|
2019-01-09 12:05:23 +01:00
|
|
|
enableProdMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule);
|
|
|
|
});
|