Fix broken CommonJS require and ESM import
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