fuse-angular/src/main.ts

13 lines
397 B
TypeScript
Raw Normal View History

import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
2017-08-17 07:40:25 +00:00
if ( environment.production )
{
enableProdMode();
}
2020-07-23 12:15:42 +00:00
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));