All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.0 (2024-03-22)
- Changed the way ESM/CJS is handled, defaulting to ESM mode with
type: 'module'
and using the.js
extension by default. CommonJS imports are now done through a.cjs
extension implicitly. While this shouldn't be breaking, getting bundlers and environments conditional loading "just right" is a complex and sometimes brittle process. If you run into issues, please let us know.
- correct hasHMR check in ESM mode (92a69e2)