mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use babel 5 bin, not cached babel 6 cli
This commit is contained in:
@@ -19,7 +19,6 @@ before_install:
|
||||
npm --version
|
||||
script:
|
||||
- |
|
||||
npm ls --depth=0
|
||||
if [ "$TEST_TYPE" = build_website ]; then
|
||||
if [ "$TRAVIS_BRANCH" = "$REACT_WEBSITE_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
||||
set -e
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ require('yaml')
|
||||
desc "generate js from jsx"
|
||||
task :js do
|
||||
system "cp ../node_modules/babel/node_modules/babel-core/browser.min.js ./js/babel-browser.min.js"
|
||||
system "../node_modules/.bin/babel _js --out-dir=js"
|
||||
system "../node_modules/babel/bin/babel.js _js --out-dir=js"
|
||||
end
|
||||
|
||||
desc "watch js"
|
||||
|
||||
Reference in New Issue
Block a user