tabby/app/src/entry.ts
Eugene Pankov 98fea7b102 .
2016-12-23 10:06:53 +01:00

25 lines
617 B
TypeScript

console.timeStamp('entry point')
import 'core-js'
import 'zone.js/dist/zone.js'
import 'core-js/es7/reflect'
import 'jquery'
// Always land on the start view
location.hash = ''
import { AppModule } from 'app.module'
import { enableProdMode } from '@angular/core'
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'
if (nodeRequire('electron-is-dev')) {
console.warn('Running in debug mode')
} else {
enableProdMode()
}
console.timeStamp('angular bootstrap started')
platformBrowserDynamic().bootstrapModule(AppModule)
process.emitWarning = function () { console.log(arguments) }