npm jiti 2.6.0
v2.6.0

15 hours ago

compare changes

🌟 What is new?

This release fixes minor issues, migrates to Rspack for dist, and lazily imports the Babel transformer only when needed, which should noticeably improve startup times.

  • Install size reduced from 2.03MB to 1.67MB
  • Loading times improved 150ms => 22ms (full transform: 180ms => 115ms)

🔥 Performance

  • Lazy load transformer (#405)

🩹 Fixes

  • cjs-interop: Handle function default exports (#396)
  • Always use native require/import for node: specifiers (#392)

📦 Build

  • Migrate to rspack (#404)
  • Updated bundled dependencies (diff)

✅ Tests

  • Update deno and bun native test coverage (df844f8)

❤️ Contributors

Don't miss a new jiti release

NewReleases is sending notifications on new releases.