-
Notifications
You must be signed in to change notification settings - Fork 536
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
Problem with latest CRA #231
Comments
Created a minimal repo showing this bug in action: https://github.com/davidascher/mapbox-repro-bug |
Filed bug on CRA in case the bug is over there: facebook/create-react-app#2376 |
FYI, this was fixed with a workaround in CRA v. 1.0.7. Long fascinating thread about the root cause here mishoo/UglifyJS#2011 (comment) if you're curious. (still ongoing). |
Thanks |
just for fun, bug is now traced back to mapbox/mapbox-gl-js#4359. |
Error only visible in production build:
yarn build && serve -s build
. In #207 I updated to the latest CRA, so you can check it (deletehomepage
field to test).I suppose this is error in mapbox-gl and webworkify.
Uncaught ReferenceError: e is not defined
Related: visgl/react-map-gl#176
The text was updated successfully, but these errors were encountered: