@@ -47,11 +47,6 @@ import { provideIonicAngular, IonicRouteStrategy } from '@ionic/angular/standalo
47
47
48
48
import { routes } from ' ./app/app.routes' ;
49
49
import { AppComponent } from ' ./app/app.component' ;
50
- import { environment } from ' ./environments/environment' ;
51
-
52
- if (environment .production ) {
53
- enableProdMode ();
54
- }
55
50
56
51
bootstrapApplication (AppComponent , {
57
52
providers: [
@@ -144,7 +139,7 @@ export class AppComponent {
144
139
Icons registered in an application entry point can then be referenced by name anywhere in the application.
145
140
146
141
``` html title="home.page.html"
147
- <!--
142
+ <!--
148
143
logoIonic was registered in app.component.ts instead of home.page.ts,
149
144
but it can still be used in home.page.html.
150
145
-->
@@ -306,7 +301,7 @@ export class AppComponent {
306
301
Icons registered in an application entry point can then be referenced by name anywhere in the application.
307
302
308
303
``` html title="home.page.html"
309
- <!--
304
+ <!--
310
305
logoIonic was registered in app.component.ts instead of home.page.ts,
311
306
but it can still be used in home.page.html.
312
307
-->
@@ -432,11 +427,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
432
427
433
428
import { routes } from './app/app.routes';
434
429
import { AppComponent } from './app/app.component';
435
- import { environment } from './environments/environment';
436
-
437
- if (environment.production) {
438
- enableProdMode();
439
- }
440
430
441
431
bootstrapApplication(AppComponent, {
442
432
providers: [
@@ -560,11 +550,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
560
550
561
551
import { routes } from './app/app.routes';
562
552
import { AppComponent } from './app/app.component';
563
- import { environment } from './environments/environment';
564
-
565
- if (environment.production) {
566
- enableProdMode();
567
- }
568
553
569
554
@NgModule({
570
555
declarations: [AppComponent],
@@ -605,11 +590,6 @@ import { RouteReuseStrategy, provideRouter } from '@angular/router';
605
590
606
591
import { routes } from './app/app.routes';
607
592
import { AppComponent } from './app/app.component';
608
- import { environment } from './environments/environment';
609
-
610
- if (environment.production) {
611
- enableProdMode();
612
- }
613
593
614
594
@NgModule({
615
595
declarations: [AppComponent],
0 commit comments