homefront/src/main.ts

12 lines
387 B
TypeScript
Raw Normal View History

2018-11-13 17:03:35 -05:00
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
2018-11-14 12:07:55 -05:00
import 'hammerjs';
2018-11-13 17:03:35 -05:00
if (environment.production) {
enableProdMode();
}
2018-11-14 19:04:43 -05:00
platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.error(err));