diff --git a/angular.json b/angular.json index d1873773..b1c55ab4 100644 --- a/angular.json +++ b/angular.json @@ -51,12 +51,6 @@ "maximumWarning": "6kb" } ], - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], "outputHashing": "all" }, "development": { diff --git a/package.json b/package.json index fc816543..2208eabb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "ng test app" }, "engines": { - "node": "18" + "node": "20" }, "dependencies": { "@angular/animations": "17.0.3", diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts deleted file mode 100644 index c9669790..00000000 --- a/src/environments/environment.prod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const environment = { - production: true, -}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts deleted file mode 100644 index 85db3caf..00000000 --- a/src/environments/environment.ts +++ /dev/null @@ -1,15 +0,0 @@ -// This file can be replaced during build by using the `fileReplacements` array. -// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`. -// The list of file replacements can be found in `angular.json`. - -export const environment = { - production: false, -}; - -/* - * In development mode, to ignore zone related error stack frames such as - * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can - * import the following file, but please comment it out in production mode - * because it will have performance impact when throw error - */ -// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.