summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/environments
diff options
context:
space:
mode:
authorschencej <schencej@clarkson.edu>2019-09-14 13:15:56 -0400
committerschencej <schencej@clarkson.edu>2019-09-14 13:15:56 -0400
commit30ea1d1313e5830456b49cd100906eb0c4f3efd0 (patch)
treeed064cb2aea7f23ff9e2dbad47f5161fe6fe41fc /recipeBuddy/src/environments
Initial commit
Diffstat (limited to 'recipeBuddy/src/environments')
-rw-r--r--recipeBuddy/src/environments/environment.prod.ts3
-rw-r--r--recipeBuddy/src/environments/environment.ts16
2 files changed, 19 insertions, 0 deletions
diff --git a/recipeBuddy/src/environments/environment.prod.ts b/recipeBuddy/src/environments/environment.prod.ts
new file mode 100644
index 0000000..3612073
--- /dev/null
+++ b/recipeBuddy/src/environments/environment.prod.ts
@@ -0,0 +1,3 @@
+export const environment = {
+ production: true
+};
diff --git a/recipeBuddy/src/environments/environment.ts b/recipeBuddy/src/environments/environment.ts
new file mode 100644
index 0000000..7b4f817
--- /dev/null
+++ b/recipeBuddy/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.