mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a20b4ea5c7
* feat(prettier): added prettier for formatting code on pre-commit and linted files * feat(prettier): formatted code after merge
14 lines
375 B
TypeScript
14 lines
375 B
TypeScript
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)
|
|
.catch(err => console.error(err));
|