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
Use babel >
as prompt in babel-node
#9695
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/10503/ |
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 like it! By doing this we can also differentiate from Node.js REPL. For example user could start a Node.js REPL like this:
npx @babel/node
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.
Can this PR go in a patch release, or should it wait for a minor?
Fixes #1, Fixes #2
In babel-node, use
babel >
as prompt instead of simple>
(to showbabel
brand specially)FYI,
gatsby repl
just did in this way :)https://github.com/gatsbyjs/gatsby/blob/cfc5126ba604ceaaf561d51007d6b67d115106b3/packages/gatsby/src/commands/repl.js#L36