-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unexpected token issue after upgrading to mapbox-gl 2.6.0 #11288
Comments
Do you use a browserslist in your setup? |
@ryanhamley, no, we did not use browserslist. |
Out of curiosity, what version of SystemJS are you using? I'm not very familiar with the project, but when I look up systemjs-builder, I find an archived project that doesn't appear set up for handling Object spread syntax ( The issue seems to be the introduction of the Object spread notation in v2.6's projection code. This is a duplicate of #11266 so I'm going to close this to consolidate discussion in that earlier ticket. |
@ryanhamley, thank you very much for the hint. We are using an old version of SystemJS since the new one does not take System.config function which is used in our compiling program. I need to investigate if we can upgrade to the new SystemJS. |
We have set up a script to compile the mapbox-gl library with our Angular 7+ app on production. The script worked correctly with any mapbox-gl version before 2.6.0.
Steps to Trigger Behavior
The text was updated successfully, but these errors were encountered: