mempool/frontend/src/main.ts

15 lines
432 B
TypeScript
Raw Normal View History

2019-07-21 16:59:47 +02:00
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();
}
2020-11-06 22:30:52 +01:00
document.addEventListener('DOMContentLoaded', () => {
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
2020-11-06 22:30:52 +01:00
});