@@ -47,11 +47,6 @@ import { provideIonicAngular, IonicRouteStrategy } from '@ionic/angular/standalo
4747
4848import { routes } from ' ./app/app.routes' ;
4949import { AppComponent } from ' ./app/app.component' ;
50- import { environment } from ' ./environments/environment' ;
51-
52- if (environment .production ) {
53- enableProdMode ();
54- }
5550
5651bootstrapApplication (AppComponent , {
5752 providers: [
@@ -144,7 +139,7 @@ export class AppComponent {
144139Icons registered in an application entry point can then be referenced by name anywhere in the application.
145140
146141``` html title="home.page.html"
147- <!--
142+ <!--
148143 logoIonic was registered in app.component.ts instead of home.page.ts,
149144 but it can still be used in home.page.html.
150145-->
@@ -306,7 +301,7 @@ export class AppComponent {
306301Icons registered in an application entry point can then be referenced by name anywhere in the application.
307302
308303``` html title="home.page.html"
309- <!--
304+ <!--
310305 logoIonic was registered in app.component.ts instead of home.page.ts,
311306 but it can still be used in home.page.html.
312307-->
@@ -432,11 +427,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
432427
433428import { routes } from './app/app.routes';
434429import { AppComponent } from './app/app.component';
435- import { environment } from './environments/environment';
436-
437- if (environment.production) {
438- enableProdMode();
439- }
440430
441431bootstrapApplication(AppComponent, {
442432 providers: [
@@ -560,11 +550,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
560550
561551import { routes } from './app/app.routes';
562552import { AppComponent } from './app/app.component';
563- import { environment } from './environments/environment';
564-
565- if (environment.production) {
566- enableProdMode();
567- }
568553
569554@NgModule({
570555 declarations: [AppComponent],
@@ -605,11 +590,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
605590
606591import { routes } from './app/app.routes';
607592import { AppComponent } from './app/app.component';
608- import { environment } from './environments/environment';
609-
610- if (environment.production) {
611- enableProdMode();
612- }
613593
614594@NgModule({
615595 declarations: [AppComponent],
0 commit comments