diff options
Diffstat (limited to 'cds-ui/designer-client/src/environments')
-rw-r--r-- | cds-ui/designer-client/src/environments/environment.prod.ts | 3 | ||||
-rw-r--r-- | cds-ui/designer-client/src/environments/environment.ts | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/environments/environment.prod.ts b/cds-ui/designer-client/src/environments/environment.prod.ts new file mode 100644 index 000000000..3612073bc --- /dev/null +++ b/cds-ui/designer-client/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/cds-ui/designer-client/src/environments/environment.ts b/cds-ui/designer-client/src/environments/environment.ts new file mode 100644 index 000000000..7b4f817ad --- /dev/null +++ b/cds-ui/designer-client/src/environments/environment.ts @@ -0,0 +1,16 @@ +// 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 +}; + +/* + * For easier debugging in development mode, you can import the following file + * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. + * + * This import should be commented out in production mode because it will have a negative impact + * on performance if an error is thrown. + */ +// import 'zone.js/dist/zone-error'; // Included with Angular CLI. |