-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
CLI inline presets not working? #221
Comments
For me, running the command above causes this error:
Googling that suggests that babel-core needs to be updated. Your suggestion gave me a useful workaround, thanks! |
Glad I could help(?) :) |
@patrickfabrizius Thanks for posting this. You saved me. I am pretty confused how such a core bug, if that's what this is, is still open. |
I'm triaging old issues on babelify. Since this has been inactive for ages, I'm going to close it. Feel free to re-open if there's still something to discuss, but I'm assuming at this point it's been too long to address in a useful way. |
I was setting up ES2015 transpilation for a new project with regards of the changes since Babel 6. Following the instructions on https://github.com/babel/babelify gives me no errors but my bundle is not transpiled:
$ browserify script.js -o bundle.js -t [ babelify --presets [ es2015 ] ]
However, configuring a preset in package.json (or .babelrc) like so:
And then just running:
$ browserify index.js -o bundle.js -t babelify
Gives me a transpiled bundle.
Environment:
OSX 10.11.6
NPM 4.0.3
Browserify 13.1.1
Babelify 7.3.0
The text was updated successfully, but these errors were encountered: