From 4ef6ebf0928e23bc8677a8de6c0c0d36f47308f3 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 14 May 2018 23:58:51 +0200 Subject: Upgrade to angular cli v6.0 --- src/environments/environment.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/environments') diff --git a/src/environments/environment.ts b/src/environments/environment.ts index b7f639a..012182e 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,8 +1,15 @@ -// The file contents for the current environment will overwrite these during build. -// The build system defaults to the dev environment which uses `environment.ts`, but if you do -// `ng build --env=prod` then `environment.prod.ts` will be used instead. -// The list of which env maps to which file can be found in `.angular-cli.json`. +// 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. -- cgit v1.2.3