Replies: 1 comment
-
You likely have multiple copies of mapbox-gl installed. You can check it with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have two components that import components from
react-map-gl
. When analyzing the bundle I'm seeing thatmapbox-gl
is being imported twice. Any way to fix this? It's doubling my bundle size.The imports:

The bundle analysis:

Beta Was this translation helpful? Give feedback.
All reactions