gabiseabra / google-fonts-webpack-plugin

129 stars 44 forks source link

Add http proxy support via environment var HTTP_PROXY #27

Open felubra opened 6 years ago

felubra commented 6 years ago

This will use the environment var HTTP_PROXY to set-up a proxy agent for node-fetch, allowing the plugin to access the API in a corporate environment using a http proxy. Based on https://github.com/bitinn/node-fetch/issues/195#issue-187810893 by @gajus.