Closed azra-l closed 2 years ago
There is a known issue with mapbox where the latest version doesn't transpile properly on production builds of react apps. This PR fixes the issue with this workaround: https://github.com/visgl/react-map-gl/issues/1266#issuecomment-753686953
To replicate:
react-app
npm run build
before:
after:
There is a known issue with mapbox where the latest version doesn't transpile properly on production builds of react apps. This PR fixes the issue with this workaround: https://github.com/visgl/react-map-gl/issues/1266#issuecomment-753686953
To replicate:
react-app
runnpm run build
and serve your buildbefore:
after: