diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-05-26 13:58:07 +0200 |
| commit | fc6cf6169868e60c189e4b243330c3717ff159f3 (patch) | |
| tree | 3f6dea9c1420e23756257b5abea27ec9ed92d58a /overlays/spm/frontend/src/environments | |
| parent | 84f2affd66a0ff3947b91a30308cb8e6a8ff7594 (diff) | |
| download | nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.gz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.bz2 nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.xz nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.zip | |
...
Diffstat (limited to 'overlays/spm/frontend/src/environments')
| -rw-r--r-- | overlays/spm/frontend/src/environments/environment.prod.ts | 3 | ||||
| -rw-r--r-- | overlays/spm/frontend/src/environments/environment.ts | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/overlays/spm/frontend/src/environments/environment.prod.ts b/overlays/spm/frontend/src/environments/environment.prod.ts new file mode 100644 index 00000000..3612073b --- /dev/null +++ b/overlays/spm/frontend/src/environments/environment.prod.ts | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | export const environment = { | ||
| 2 | production: true | ||
| 3 | }; | ||
diff --git a/overlays/spm/frontend/src/environments/environment.ts b/overlays/spm/frontend/src/environments/environment.ts new file mode 100644 index 00000000..f56ff470 --- /dev/null +++ b/overlays/spm/frontend/src/environments/environment.ts | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | // This file can be replaced during build by using the `fileReplacements` array. | ||
| 2 | // `ng build` replaces `environment.ts` with `environment.prod.ts`. | ||
| 3 | // The list of file replacements can be found in `angular.json`. | ||
| 4 | |||
| 5 | export const environment = { | ||
| 6 | production: false | ||
| 7 | }; | ||
| 8 | |||
| 9 | /* | ||
| 10 | * For easier debugging in development mode, you can import the following file | ||
| 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. | ||
| 12 | * | ||
| 13 | * This import should be commented out in production mode because it will have a negative impact | ||
| 14 | * on performance if an error is thrown. | ||
| 15 | */ | ||
| 16 | // import 'zone.js/plugins/zone-error'; // Included with Angular CLI. | ||
