Fix babel-standalone for realz (#6137)

* Fix babel-standalone

* Fix infinite loop in Makefile (oops)

* Override Node.js module resolution to handle babel-core
This commit is contained in:
Daniel Lo Nigro
2017-08-22 13:46:30 -07:00
committed by GitHub
parent 62c22c7b5d
commit 93cf26abca
7 changed files with 53 additions and 15 deletions

View File

@@ -11,9 +11,12 @@ build: clean
rm -rf packages/*/lib
./node_modules/.bin/gulp build
ifneq ($(BABEL_ENV), "cov")
./node_modules/.bin/gulp build-babel-standalone
make build-standalone
endif
build-standalone:
./node_modules/.bin/gulp build-babel-standalone --cwd=packages/babel-standalone/
build-dist: build
cd packages/babel-polyfill; \
scripts/build-dist.sh