1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-13 05:29:24 -04:00

Enable ES2015 translation

This commit is contained in:
2017-06-07 21:08:39 -04:00
parent 2699d7b6c3
commit 7817e6f08e
4 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@ node_modules:
npm install
static/bundle.js: $(JS_SOURCES) node_modules
browserify -t [ babelify --presets [ react ] ] js/main.js -o static/bundle.js
browserify -t [ babelify --presets [ react es2015 ] ] js/main.js -o static/bundle.js
static/react-widgets: node_modules/react-widgets/dist node_modules
rsync -a node_modules/react-widgets/dist/ static/react-widgets/