-
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
✨ Add Babel boilerplate #346
Conversation
Not ready to merge yet. Some tests still fail, I think it's because of the way JSON is handled. |
This reverts commit 500af2e.
Well, I am stuck. |
Okay, the problem happens here: Line 226 in efe1776
On the non-Babel compiled version, |
Fixed! 😪 Some Anyway, it's working now. Here's how it works:
This ensures that we can develop and test on modern Node.js versions (>= TARGET_NODE_VERSION) without transpilation, and it also ensures that the built version (published to NPM) is compatible with all versions down to |
Hey @marvinroger, this has been merged to an es2015 branch: https://github.com/zettajs/zetta/tree/es2015. |
Run
npm run build
to generate ES5 code in thedist
folder. This is this folder that will need to be published to NPM.