react-map-gl icon indicating copy to clipboard operation
react-map-gl copied to clipboard

An error occurred while parsing the WebWorker bundle

Open Looxor opened this issue 5 years ago • 1 comments

Hi Everybody👋 !

I have an issue on building react-map-gl using Webpack

I've created an application using create-React-App and React-MAP-GL.

When I try to build and run this app in production mode, it gives me this error.

An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/api/#transpiling-v2

Screenshot : Screen Shot 2021-10-20 at 3 49 07 PM

I've read the articles and tried but not fixed.

I think that the main problem is that I am using React-map-gl not Mapbox-gl-js.

Can you please let me know how to fix this problem?

Looxor avatar Oct 22 '21 09:10 Looxor

#1266

Pessimistress avatar Oct 22 '21 11:10 Pessimistress