import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ; import { ProdConfig } from './blocks/config/prod.config' ; import { FrontendAppModule } from './app.module' ; ProdConfig ( ) ; if ( module [ 'hot' ] ) { module [ 'hot' ] . accept ( ) ; } platformBrowserDynamic ( ) . bootstrapModule ( FrontendAppModule , { preserveWhitespaces : true } ) . then ( success => console . log ( `Application started` ) ) . catch ( err => console . error ( err ) ) ;