Update LESS_BINARY and add BABEL_BINARY to cope with no symlinks.
Review Request #7994 — Created Feb. 24, 2016 and submitted
Vagrant on windows has issues creating symlinks, especially from within
npm install
. It's possible to usenpm install --no-bin-links
, but then
things are not included innode_modules/.bin
.This change explicitly references the right scripts inside the
less
and
babel-cli
modules.
Verified that compilation still worked.
-
Well, I went and double-checked what NODE_PATH will resolve to against the directory structure on my RB install, and it's setting these variables to the proper location. Looks okay on that front!
But if we no longer need symlinks in /.bin, and some installations won't be able to create symlinks in /.bin, does that mean that we should deprecate the /.bin directory entirely? There's a lot more scripts in there than the two that we're pointing to by hand, I think. (babel-doctor, babel-external-helpers, and babel-node. - other babel stuff.) Will we see problems with those?