import { enableProdMode } from "@angular/core" ; import { platformBrowserDynamic } from "@angular/platform-browser-dynamic" ; import { AppModule } from "./app/app.module" ; import { environment } from "./environments/environment" ; import "hammerjs" ; import { Theme } from "./app/shared/enums/theme.enum" ; if ( environment . production ) { enableProdMode ( ) ; } document . body . setAttribute ( "class" , Theme . DEFAULT ) ; platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . catch ( err => console . log ( err ) ) ;