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
Babel-cli: allow to install globally, with ability to invoke local babel #5091
Comments
Hey @Strate! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
👍 Feel free to borrow our implementation of this in @avajs: https://github.com/avajs/ava/blob/ad5122d507bfaa044fc3a2e51e467238e16dba11/cli.js#L7-L16 |
I'd like to work on this |
I've got a couple of questions about this feature's implementation.
Before merging: We should update this part of the documentation website
|
Should walk up. That's how |
Is the proposal here that this call a local
I'd be in favor of printing a message, we'll just have to make sure that we disable the message when Babel is set up to output transpiled output to stdout or else the message would corrupt the output JS. |
Call the local |
Sorry for the delay with this issue, I've had some personal issue the past few days. Are there any conflicts between this issue and #5258? |
I don't think there are any conflicts, I wouldn't worry about it. |
As many nodejs-related tools, it would be good to allow global babel-cli installation, which will invoke local (related to
process.cwd()
) babel installation.EDIT by @hzoo
babel-cli
: https://github.com/babel/babel/tree/master/packages/babel-cliThe text was updated successfully, but these errors were encountered: