From 40910cae222003fce36b05c90a7c5b88e9c98c3f Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Mon, 6 Jan 2025 14:22:02 +0000 Subject: [PATCH] docs(build-options): remove enableProdMode() reference It's discouraged now: https://angular.dev/api/core/enableProdMode "Using this method is discouraged as the Angular CLI will set production mode when using the optimization option." --- docs/angular/build-options.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/angular/build-options.md b/docs/angular/build-options.md index 04a9946739b..22659d46e5a 100644 --- a/docs/angular/build-options.md +++ b/docs/angular/build-options.md @@ -49,10 +49,6 @@ import { routes } from './app/app.routes'; import { AppComponent } from './app/app.component'; import { environment } from './environments/environment'; -if (environment.production) { - enableProdMode(); -} - bootstrapApplication(AppComponent, { providers: [ { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },