iLib-js / tmx

A class that can parse/generate TMX files
Apache License 2.0
2 stars 1 forks source link

Can't use 'require' to import TMX #8

Open rmxr opened 5 months ago

rmxr commented 5 months ago

The package.json file references "./lib/index.js" as "main" and "exports/require", but there is no such directory in the library package. I have managed to use the library through "import", but this should probably be fixed to allow for use with "require". Thanks for the great lib!

ehoogerbeets commented 5 months ago

Ooo, good catch. I'll fix that.

ehoogerbeets commented 5 months ago

https://github.com/iLib-js/tmx/pull/9