mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
chore(build): update main.ts to enableProdMode(); (#1209)
This commit is contained in:
parent
d23dc3da98
commit
9945954f8e
1 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
|||
import { enableProdMode } from '@angular/core';
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
|
||||
import { environment } from '././environments/environment';
|
||||
import { AppModule } from './app/app.module';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue