-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
like node-sass can set sass-binary-site to download bin library.
function getBinaryUrl() {
var site = getArgument('--sass-binary-site') ||
process.env.SASS_BINARY_SITE ||
process.env.npm_config_sass_binary_site ||
(pkg.nodeSassConfig && pkg.nodeSassConfig.binarySite) ||
'https://github.com/sass/node-sass/releases/download';
return [site, 'v' + pkg.version, getBinaryName()].join('/');
}
For some reason in china download from github is very slow.
We usually install package from https://npm.taobao.org/mirrors
pngquant-bin: https://npm.taobao.org/mirrors/pngquant-bin/
mozjpeg-bin: https://npm.taobao.org/mirrors/mozjpeg-bin/
cwebp-bin: https://npm.taobao.org/mirrors/cwebp-bin/
calledt, peixin, Palgie, ly525, Jamuz and 12 more
Metadata
Metadata
Assignees
Labels
No labels