abraham / reflection

Lightweight (3K) ES Module implementation of reflect-metadata
https://www.npmjs.com/package/@abraham/reflection
MIT License
263 stars 14 forks source link

fix: package.json #724

Closed jiby-aurum closed 1 year ago

jiby-aurum commented 1 year ago

Adds type and exports field in package.json for better support with node and typescript compiler, as well as modern dev tooling.

For my specific use case, without this vite-node does not handle this module properly. It ends up creating multiple instances of the module rather than a shared one.

jiby-aurum commented 1 year ago

@Abraham first of all thanks for your work on the library, was really helpful for me to achieve a use case I had with a vite based dev environment.

I just noticed as the last blocker letting me use it properly, would appreciate if you can release this soon :)