ngx-admin/src/main.ts

18 lines
528 B
TypeScript
Raw Normal View History

2017-04-11 19:09:02 +03:00
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
2017-10-20 17:30:54 +03:00
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.info(err));