@wfh/vendor-binary
v1.1.1
Published
Work with Plink, 3rd-party binary files for offline convenience
Downloads
3
Readme
You should not get binaries by installing this package, but by clone the whole repo. We don't want every version of binary files go to npm registry.
node-sass
file name https://github.com/sass/node-sass/blob/master/lib/extensions.js
binaryName = [
platform, '-',
process.arch, '-',
process.versions.modules
].join('');
node-sass supports different configuration parameters to change settings related to the sass binary such as binary name, binary path or alternative download path. Following parameters are supported by node-sass:
Variable name | .npmrc parameter | Process argument | Value -----------------|------------------|--------------------|------ SASS_BINARY_NAME | sass_binary_name | --sass-binary-name | path SASS_BINARY_SITE | sass_binary_site | --sass-binary-site | URL SASS_BINARY_PATH | sass_binary_path | --sass-binary-path | path SASS_BINARY_DIR | sass_binary_dir | --sass-binary-dir | path
These parameters can be used as environment variable:
- E.g.
export SASS_BINARY_SITE=http://example.com/
As local or global .npmrc configuration file:
- E.g.
sass_binary_site=http://example.com/
As a process argument:
- E.g.
npm install node-sass --sass-binary-site=http://example.com/