-
Notifications
You must be signed in to change notification settings - Fork 7
making .es5 files .js files #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -24,7 +24,7 @@ | |||
"test-server": "babel-tape-runner test/server.jsx | tap-spec", | |||
"tdd-server": "nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server", | |||
"tdd-browser": "mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet", | |||
"watch": "babel index.js --watch --out-file index.es5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work because it'll overwrite the original file!
We should probably just move to a dist
and src
folder pattern that's become common.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure the watch
task ever worked, because the original file was index.jsx, but I'll stick it in src/ as per convention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, good point.
@@ -24,7 +24,7 @@ | |||
"test-server": "babel-tape-runner test/server.jsx | tap-spec", | |||
"tdd-server": "nodemon -x npm -i node_modules/ -e js,jsx -- run -s test-server", | |||
"tdd-browser": "mkdir -p .cache; mkdir -p .cache/test; touch .cache/test/browser.js 2> /dev/null; watchify test/browser.jsx --transform babelify --external react/addons --external react/lib/ReactContext --external react/lib/ExecutionEnvironment --debug --outfile .cache/test/browser.js & devtool --watch .cache/test/browser.js --console --browser-field --no-node-timers --show .cache/test/browser.js | faucet", | |||
"watch": "babel index.js --watch --out-file index.es5", | |||
"watch": "babel index.js --watch --out-file index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops: this is the part that will overwrite.
Ah yeah good spot, I'll fix it when I get near a computer |
Can this be merged? |
@madole sorry, I missed that you updated things! Merging now. |
Released as 3.0.2 |
No description provided.