FarmMapsLib/src/main.ts

20 lines
484 B
TypeScript
Raw Normal View History

2020-09-18 12:20:33 +00:00
import * as Cesium from 'cesium';
2019-06-26 12:35:47 +00:00
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
2019-06-26 12:35:47 +00:00
if (environment.production) {
enableProdMode();
}
window['CESIUM_BASE_URL'] = '/assets/cesium/';
window['Cesium'] = Cesium;
2019-06-26 12:35:47 +00:00
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));