commit | author | age
|
2f5b9b
|
1 |
import './vendor.ts'; |
B |
2 |
import { enableProdMode } from '@angular/core'; |
|
3 |
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; |
|
4 |
|
|
5 |
import { AppModule } from './app/app.module'; |
|
6 |
import { environment } from './environments/environment'; |
|
7 |
|
|
8 |
if (environment.production) { |
|
9 |
enableProdMode(); |
|
10 |
} |
|
11 |
|
|
12 |
let p = platformBrowserDynamic().bootstrapModule(AppModule); |
|
13 |
p.then(() => { (<any>window).appBootstrap && (<any>window).appBootstrap(); }) |
|
14 |
// .catch(err => console.error(err)); |