Mercurial > hg > ugly-duckling
annotate src/environments/environment.ts @ 310:103cc6f63da1
The existence of a window object was screwing up something a recent update in RxJs introduced where it figures out what environment it is in. This is so brittle.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 12 May 2017 16:48:51 +0100 |
parents | 53ea6406d601 |
children |
rev | line source |
---|---|
angular-cli@0 | 1 // The file contents for the current environment will overwrite these during build. |
angular-cli@0 | 2 // The build system defaults to the dev environment which uses `environment.ts`, but if you do |
angular-cli@0 | 3 // `ng build --env=prod` then `environment.prod.ts` will be used instead. |
dev@236 | 4 // The list of which env maps to which file can be found in `.angular-cli.json`. |
angular-cli@0 | 5 |
angular-cli@0 | 6 export const environment = { |
angular-cli@0 | 7 production: false |
angular-cli@0 | 8 }; |