Project

General

Profile

1
import { enableProdMode } from '@angular/core';
2
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3

    
4
import { AppModule } from './app/app.module';
5
import { environment } from './environments/environment';
6

    
7
if (environment.production) {
8
  enableProdMode();
9
}
10

    
11
document.addEventListener('DOMContentLoaded', () => {
12
  platformBrowserDynamic().bootstrapModule(AppModule);
13
});
(3-3/7)