mirror of
https://github.com/Eugeny/tabby
synced 2025-01-23 18:35:25 +00:00
25 lines
617 B
TypeScript
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) }
|