Skip to content

v1.0.2 - ESM Compatibility Fix

Choose a tag to compare

@Kledenai Kledenai released this 24 Feb 15:15
· 10 commits to main since this release

[1.0.2] - 2025-02-24

Fixed

  • Resolved ESM/CommonJS compatibility issue:
    • Updated tsconfig.json to use "module": "ESNext" instead of "CommonJS" for proper ESM support.
    • Set "target": "ES2020" to enable modern JavaScript features.
    • Enabled TypeScript declaration generation with "declaration": true.
  • Fixed export syntax in compiled JavaScript files:
    • Ensured that TypeScript outputs proper ESM exports using export {} syntax instead of exports. object.