Closed jiby-aurum closed 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 :)
Adds
type
andexports
field inpackage.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.