You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application is a react app with webpack 4 and babel 8.
Expected Behavior
It should render the map after following the V3 migration guide.
Actual Behavior
An error occurred while parsing the WebWorker bundle
This happens when importing with
importmapboxglfrom'mapbox-gl'
If i import with previous transpilation suggestion i get another error.
importmapboxglfrom'!mapbox-gl'
./node_modules/mapbox-gl/dist/mapbox-gl.js 34:21870
Module parse failed: Unexpected token (34:21870)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
The text was updated successfully, but these errors were encountered:
mapbox-gl-js version: 3.8.0
browser: Chrome Version 130.0.6723.117
Steps to Trigger Behavior
Link to Demonstration
https://jsbin.com/
Cannot easily provide a reproduction.
The application is a react app with webpack 4 and babel 8.
Expected Behavior
It should render the map after following the V3 migration guide.
Actual Behavior
An error occurred while parsing the WebWorker bundle
This happens when importing with
If i import with previous transpilation suggestion i get another error.
The text was updated successfully, but these errors were encountered: