Commits
Click on a commit to change the comparison rangeMigrate to ESM-only distribution
This commit removes CommonJS (CJS) and UMD build outputs,
distributing only ES modules (ESM). All build artifacts are
now placed directly in the dist/ directory.
Changes:
- Remove CommonJS format from vite.config.ts
- Remove UMD build configuration (config/vite.config.umd.ts)
- Update package.json to remove CJS/UMD entry points
- Simplify dist/ structure (no more es/cjs/types subdirectories)
- Update README to remove UMD examples and update Node.js versions
- Fix Deno E2E test to use new dist path
- Remove build:browser command from package.json scripts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com> docs: add Node.js 22.x to supported runtimes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com> refactor: simplify exports by removing redundant import conditions
Since we now only distribute ESM, the 'import' condition is redundant.
All exports now use only 'types' and 'default' conditions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>