Importing moment-timezone
from ESM context fails with require() of ES Module latest.json is not supported
#314
Labels
bug
Something isn't working
Environment
Node.js v20.17.0
jiti: 2.0.0
moment-timezone: 0.5.45
Reproduction
test.ts
Run with:
Describe the bug
Jiti fails to import moment-timezone with error:
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: