Introduce SASS_BINARY_SITE environment variable
Provide ability to locally mirror node-sass binaries for various versions and platforms. SASS_BINARY_SITE needs to be an URL pointing to a collection of files organized like the Github repository. If SASS_BINARY_SITE is set to http://myhost:8080/local/node-sass-bin/ then http://myhost:8080/local/node-sass-bin/v3.0.0-beta.5/freebsd-x64-14_binding.node should point to the FreeBSD 64 bit binary for node 0.12.0 The URL can be also specified as the --sass-binary-site commandline option or in the package.json: "nodeSassConfig": { "binarySite": <url> } Remove --sass-binary-url and friends. Also change priority and use package.json defaults last, after command line arguments and the environment.
Showing
Please
register
or
sign in
to comment