Skip to content

Fix broken CommonJS require and ESM import

Compare
Choose a tag to compare
@briangershon briangershon released this 12 Feb 05:26
· 15 commits to main since this release

Support both CommonJS require and ESM import via Scenario: Our package is new and should be hybrid, but we now have the luxury of only targeting modern bundlers ESM Node.js.

Both require and import were broken in v3.0.0