Skip to content
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

support babel, convert es6 to es5 before evaluation #15

Open
redguardtoo opened this issue Jun 19, 2017 · 1 comment
Open

support babel, convert es6 to es5 before evaluation #15

redguardtoo opened this issue Jun 19, 2017 · 1 comment

Comments

@redguardtoo
Copy link
Owner

redguardtoo commented Jun 19, 2017

see https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/file.js#L99

and https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/util.js#L42

just calling babel.transform and setup some options. Now I just need figure out how to read .babelrc

@redguardtoo redguardtoo changed the title support babel, convert es6 to es6 before evaluation support babel, convert es6 to es5 before evaluation Aug 14, 2017
@redguardtoo
Copy link
Owner Author

NodeJS 8 does not handle this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant