-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Generate modern output for dist-esm #349
base: master
Are you sure you want to change the base?
Conversation
Not sure if |
That's exactly the beauty of it. EsNext is always the latest JavaScript, and people who want to run the code on a fixed target will use Babel. |
Yes, but my point is that this is a library and this configuration determines what we ship to the user. So what are we going to tell the users what minimum ES spec their tool stack needs to support, so that using threads.js won't kill their build? We would need to tell all users to always make sure that the tools they are using need to support whatever is the bleeding edge in that moment in order to use threads.js… |
The CI errors are fixed in #351 |
Thanks so much for your help, @aminya! 🥳 PS: Please always share your view on things if you don't agree with me. Not sure what your current thoughts on ESNext vs ES2020 are, but it's important to me personally to have someone challenge what I write here. That kind of feedback is always appreciated 😉 |
Thank you for your attention! Both work for me, and I don't have a strong opinion. Personally, I think of |
I merged #351. If you rebase (or merge into) this PR, I can merge it, too 👍 |
I don't think node.js is ok with ES2020 😉 |
ES2017 is safe. |
This error is not thrown from Nodej, but from The point of #351 was to separate the building phase from the testing phase, so we can use the latest JavaScript. It seems all the tools support the latest JavaScript except https://github.com/andywer/puppet-run This fork ( |
Ohh, I see. Just merged and published Man, you are so quick! Thanks for all your efforts 👍 😊 |
No description provided.