9 lines
288 B
TypeScript
9 lines
288 B
TypeScript
import {platformBrowserDynamic} from "@angular/platform-browser-dynamic";
|
|
import {AppModule} from "./app/app.module";
|
|
import {enableProdMode} from "@angular/core";
|
|
|
|
if (process.env.NODE_ENV === "production") {
|
|
enableProdMode();
|
|
}
|
|
|
|
platformBrowserDynamic().bootstrapModule(AppModule);
|