diff options
| author | crupest <crupest@outlook.com> | 2019-02-04 23:25:33 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-02-04 23:25:33 +0800 |
| commit | fdc51c9e4ac225311e4e14923e6b48efbd05a6e1 (patch) | |
| tree | 387fa924f0fbdd7b40a25029d5e7c3955764272b /Timeline/ClientApp/src/environments | |
| download | timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.tar.gz timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.tar.bz2 timeline-fdc51c9e4ac225311e4e14923e6b48efbd05a6e1.zip | |
Init commit.
Diffstat (limited to 'Timeline/ClientApp/src/environments')
| -rw-r--r-- | Timeline/ClientApp/src/environments/environment.prod.ts | 3 | ||||
| -rw-r--r-- | Timeline/ClientApp/src/environments/environment.ts | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/environments/environment.prod.ts b/Timeline/ClientApp/src/environments/environment.prod.ts new file mode 100644 index 00000000..3612073b --- /dev/null +++ b/Timeline/ClientApp/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/Timeline/ClientApp/src/environments/environment.ts b/Timeline/ClientApp/src/environments/environment.ts new file mode 100644 index 00000000..012182ef --- /dev/null +++ b/Timeline/ClientApp/src/environments/environment.ts @@ -0,0 +1,15 @@ +// 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/dist/zone-error'; // Included with Angular CLI. |
