import { enableProdMode } from '@angular/core' ; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ; import { AppWrapperModule } from './app/app-wrapper.module' ; import { environment } from './environments/environment' ; if ( environment . production ) { enableProdMode ( ) ; } platformBrowserDynamic ( ) . bootstrapModule ( AppWrapperModule ) . catch ( err => console . log ( err ) ) ;