import 'hammerjs' ; import { enableProdMode } from '@angular/core' ; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ; import { environment } from '@env/frontend' ; import { AppModule } from './app/app.module' ; if ( environment . production ) { enableProdMode ( ) ; } document . addEventListener ( 'DOMContentLoaded' , ( ) => { platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . catch ( err => console . error ( err ) ) ; } ) ;