-2

I am using ionic + react with the react-mapbox-gl library. Everything runs fine on localhost but when i deploy production build to firebase hosting, the website just returns a grey blank map.
I don't think there is a problem with the code, but I cant pinpoint the problem.
I have tried changing the Mapbox token as well.

help appreciated :)

1 Answers1

0

Depending on the transpiler, this may be related to a known issue:

https://github.com/mapbox/mapbox-gl-js/issues/10173#issuecomment-753662795