timohausmann / quadtree-ts

Quadtree Typescript Implementation
https://timohausmann.github.io/quadtree-ts/
MIT License
125 stars 15 forks source link

ESM and types missing issue with 2.0.0 release #9

Closed mundmische closed 11 months ago

mundmische commented 11 months ago

We are having trouble including the 2.0.0 version you recently released.

We were able to fix the issue by adding the following line to the exports in the package.json:

  "exports": {
    ...
    "types": "./types/index.esm.d.ts"
  }
timohausmann commented 11 months ago

Thanks for the suggestion, added that line: https://github.com/timohausmann/quadtree-ts/commit/53c6a894494adf67464ae99b4a77da1141ce2615#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

and published: https://www.npmjs.com/package/@timohausmann/quadtree-ts?activeTab=versions

mundmische commented 11 months ago

Thank you very much. That is highly appreciated!

timohausmann commented 11 months ago

You're welcome, let me know if the issue persists.