Open chalenascholl opened 2 months ago
To use these changes instead of the original package, link to the github repo with these changes like so:
"mapbox-gl-draw-split-polygon-mode": "https://github.com/chalenascholl/mapbox-gl-draw-split-polygon-mode.git",
@ReyhaneMasumi or @mhsattarian thanks for creating this custom mode! Are either of you able to review these changes?
1) Updates the package to import the necessary constants in the correct manner, as the
src
folder is not exposed in themapbox-gl-draw
package2) Include
dist
folder for now, so that others can use this repo, until we can hopefully get this change into the original package and published to npm as well.