Wildhoney / Leaflet.FreeDraw

:earth_asia: FreeDraw allows the free-hand drawing of shapes on your Leaflet.js map layer – providing an intuitive and familiar UX for creating geospatial boundaries similar to Zoopla and others. Included out-of-the-box is the concaving of polygons, polygon merging and simplifying, as well as the ability to add edges and modify existing shapes.
https://freedraw.herokuapp.com/
MIT License
544 stars 103 forks source link

move external declarations to top level of rollup config #159

Open nickolas1 opened 5 years ago

nickolas1 commented 5 years ago

I believe the external declarations need to be at the top level of the config to take effect, not in each output config. I'm not familiar enough with why the cjs build has clipper-lib external as well, so I moved that to a separate configuration. This should address https://github.com/Wildhoney/Leaflet.FreeDraw/issues/157.