Activate Angular production mode on master branch.
This commit is contained in:
parent
38ff12070e
commit
5ef1848db2
4 changed files with 55 additions and 32 deletions
|
@ -1,4 +1,9 @@
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue