Skip to content

Instantly share code, notes, and snippets.

@dsebastien
Created March 28, 2021 13:30
Show Gist options
  • Save dsebastien/521f7a468bcb05662d1bac86886eb149 to your computer and use it in GitHub Desktop.
Save dsebastien/521f7a468bcb05662d1bac86886eb149 to your computer and use it in GitHub Desktop.
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();
}
platformBrowserDynamic().bootstrapModule(AppModule);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment