Project

General

Profile

1 50428 argiro.kok
import { enableProdMode } from '@angular/core';
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
4
import { AppModule } from './app/app.module';
5 58886 k.triantaf
import { properties } from './environments/environment';
6 50428 argiro.kok
7 58886 k.triantaf
if (properties.environment !== "development") {
8 50428 argiro.kok
  enableProdMode();
9
}
10
11
document.addEventListener('DOMContentLoaded', () => {
12
  platformBrowserDynamic().bootstrapModule(AppModule);
13
});