import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import 'zone.js';

import { AppModule } from './app/module';
import { environment } from './environments/environment';
if (environment.production) {
    enableProdMode();
}

const LICENSE_KEY = 'LICENSE_KEY_VALUE';

import { LicenseManager } from 'ag-grid-enterprise';
// tslint:disable-next-line
LicenseManager.setLicenseKey(LICENSE_KEY);

platformBrowserDynamic()
    .bootstrapModule(AppModule)
    .catch(err => console.log(err));
