Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting custom binary site #93

Closed
wants to merge 1 commit into from

Conversation

leo108
Copy link

@leo108 leo108 commented Aug 12, 2018

Developers in China have trouble to download binary files from Github directly, this PR supports for setting custom binary site by GIFSICLE_BINARY_SITE=https://npm.taobao.org/mirrors/gifsicle-bin/ yarn which will save our lives.

Thanks to node-sass project which inspires me.

Developers in China have trouble to download binary files from Github directly, this PR supports for setting custom binary site by `GIFSICLE_BINARY_SITE=https://npm.taobao.org/mirrors/gifsicle-bin/ yarn` which will save our lives.

Thanks to [node-sass](https://github.com/sass/node-sass/blob/master/lib/extensions.js#L240) project which inspires me.
@leo108 leo108 changed the title Add support for custom setting binary site Add support for setting custom binary site Aug 12, 2018
@leo108
Copy link
Author

leo108 commented Aug 27, 2018

@kevva can you take a look at this? thanks!

@sindresorhus
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants