From 73a5c7fae9ffbe9ada721148c8c454a643aceebe Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 20 Feb 2022 16:11:50 +0100 Subject: chore!: restructure repo I separated public files from the config/dev files. It improves repo readability. I also moved dotenv helper to public/inc directory and extract the Matomo tracker in the same directory. --- .../apps/recipes/src/environments/environment.prod.ts | 3 +++ .../apps/recipes/src/environments/environment.ts | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 public/projects/angular-small-apps/apps/recipes/src/environments/environment.prod.ts create mode 100644 public/projects/angular-small-apps/apps/recipes/src/environments/environment.ts (limited to 'public/projects/angular-small-apps/apps/recipes/src/environments') diff --git a/public/projects/angular-small-apps/apps/recipes/src/environments/environment.prod.ts b/public/projects/angular-small-apps/apps/recipes/src/environments/environment.prod.ts new file mode 100644 index 0000000..3612073 --- /dev/null +++ b/public/projects/angular-small-apps/apps/recipes/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/public/projects/angular-small-apps/apps/recipes/src/environments/environment.ts b/public/projects/angular-small-apps/apps/recipes/src/environments/environment.ts new file mode 100644 index 0000000..f56ff47 --- /dev/null +++ b/public/projects/angular-small-apps/apps/recipes/src/environments/environment.ts @@ -0,0 +1,16 @@ +// This file can be replaced during build by using the `fileReplacements` array. +// `ng build` 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/plugins/zone-error'; // Included with Angular CLI. -- cgit v1.2.3