-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Labels
Description
I am creating a new drawing mode. To avoid reinventing the wheel I would like to reuse some functions that were already implemented in:
@mapbox/mapbox-gl-draw/src/lib/common_selectors
@mapbox/mapbox-gl-draw/src/lib/double_click_zoom
I am using create-react-app and if I try to import any of them and build my project, I have the minification issue:
Failed to minify the code from this file:
./node_modules/@mapbox/mapbox-gl-draw/src/lib/double_click_zoom.js:2I am using:
mapbox-gl-js 0.44.2:
mapbox-gl-draw 1.0.7:
I could send a PR if I get a better understanding how to solve this.
hedderich, katfchan and Jeromearsene