mapbox / polylabel

A fast algorithm for finding the pole of inaccessibility of a polygon (in JavaScript and C++)
Other
1.44k stars 151 forks source link

use es modules #104

Closed yukulele closed 4 months ago

yukulele commented 1 year ago

fixes #74

AlexanderMelde commented 1 year ago

@mourner It would be really helpful to have ES Modules when using polylabel in typescript projects, do you think you could take a look at the proposed solution please? :)

mourner commented 4 months ago

Apologies for a late response, did this in https://github.com/mapbox/polylabel/commit/93787d50a6f6a492beac705584d39f59ca112aa0