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
Mapbox is used with import mapboxgl from 'mapbox-gl'.
Expected Behavior
Mapbox can be successfully uglified.
Actual Behavior
When building for production, UglifyJS2 has Mapbox throw a Uncaught ReferenceError: n is not defined.
This error also occurs when using Google Closure instead of UglifyJS.
May be related to #1649 , which mainly treats webpack v1 and is closed.
Thanks for your help!
stevewillard, ccebrand, plugn, kachkaev, gkostyanikov and 33 more