Fixes #755 - adds custom handling of remote requests.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Thu, 23 Mar 2017 19:34:42 +0000 (20:34 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 25 Mar 2017 06:16:56 +0000 (07:16 +0100)
commita2c153687d67cbf0a1c6a0015520f28dea25e658
tree9727aa6fee3b5aa03840c78b20ae25113b17cc19
parentebef07d37ea1ff7ee8e70980041ee8c72dc787ca
Fixes #755 - adds custom handling of remote requests.

Why:

* To allow flexibility in a way of fetching remote resources, for
  example requests via CONNECT proxies, an external request library can
  be used, see example in readme;
* instead of reinventing a wheel a better approach is to use an external
  library based on users' choice.
History.md
README.md
lib/clean.js
lib/options/fetch.js [new file with mode: 0644]
lib/reader/apply-source-maps.js
lib/reader/load-original-sources.js
lib/reader/read-sources.js
test/protocol-imports-test.js