-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
Is it time to move to ES2017 and how #4045
Comments
Check out the following discussion: |
It's also worth noting that it seems angular did make an effort to fix the issue, but I don't think it will be available soon enough: |
When Angular developers have a path forward supporting async/await, then we can move too - can't really do it before. I don't know if that is Angular 18 (might be), and if it'll be trivial enough for angular devs to migrate to angular 18 for us to say "just upgrade Angular and it'll work again". Regarding ESM, another cool thing here is that Node 22 actually allow to require(esm), so it'll hopefully ease some of the cjs/esm friction, maybe not for maplibre, but in general. |
Closing it for now. Does not look like it is happening for the next several months. |
User Story
MapLibre currently compiles to ES2016 version, and maybe should upgrade to ES2017; the most important benefit would be the native support of async/await.
99% of browsers should have ES2017 support, see more: https://caniuse.com/?search=ES2017
When it comes to how, there could be two options, and both are pretty straight forward.
Rationale
The text was updated successfully, but these errors were encountered: