src.main.ts Maven / Gradle / Ivy
The newest version!
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { ChutneyAppModule } from './app/app.module';
import { environment } from '@env/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(ChutneyAppModule)
.catch(err => console.error(err));