Skip to content

Commit d1fe05e

Browse files
committed
[chore] use local babel instead of requiring a global installation.
1 parent bb69a91 commit d1fe05e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ NPM=$(shell which npm)
33
YARN=$(shell which yarn)
44
JQ=$(shell which jq)
55

6-
COVERALLS="./node_modules/coveralls/bin/coveralls.js"
6+
BABEL=./node_modules/.bin/babel
7+
COVERALLS=./node_modules/coveralls/bin/coveralls.js
78
REMOTE="[email protected]:reactjs/react-modal"
89
CURRENT_VERSION:=$(shell jq ".version" package.json)
910
COVERAGE?=true
@@ -86,7 +87,7 @@ changelog:
8687

8788
compile:
8889
@echo "[Compiling source]"
89-
babel src --out-dir lib
90+
$(BABEL) src --out-dir lib
9091

9192
build: compile
9293
@echo "[Building dists]"

0 commit comments

Comments
 (0)