This release focuses on CJS/ESM compatibility and performance improvements.
Build changes
- Separate CJS and ESM builds in
dist/cjs
anddist/esm
. - Explicit
.js
extensions (ESM compatibility). - Removed
"type": "module"
(CJS compatibility). - Types are now in
dist/types
. - The built code is no longer minified.
Other changes
- Add performance related optimizations.
- The build target is now ES2021.
- New benchmark using Bun + mitata.
- The React benchmark has been removed.
- Removed ESLint.
Full Changelog: v1.2.0...v2.0.0