Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

mapbox-gl-js 2.0 doesn't work with react #13

Closed
mjasher opened this issue Dec 15, 2020 · 1 comment
Closed

mapbox-gl-js 2.0 doesn't work with react #13

mjasher opened this issue Dec 15, 2020 · 1 comment

Comments

@mjasher
Copy link

mjasher commented Dec 15, 2020

Using the basic example https://github.com/mapbox/mapbox-react-examples/tree/master/basic with 2.0 works fine in dev. But

yarn upgrade mapbox-gl@2
yarn build

and the production build doesn't load.
Screen Shot 2020-12-16 at 9 37 24 AM

@mjasher
Copy link
Author

mjasher commented Dec 16, 2020

This is just a specific case of mapbox/mapbox-gl-js#10173 so closing.

@mjasher mjasher closed this as completed Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant