Skip to content

Commit

Permalink
fix: use proper dual-packaging
Browse files Browse the repository at this point in the history
Support CommonJS & ESM. Previously the ESM build (dist/module) is broken - it's
recognized as CommonJS.

For more on dual-packaging: https://nodejs.org/api/packages.html#dual-commonjses-module-packages
  • Loading branch information
soedirgo committed May 21, 2024
1 parent 03a811d commit 2c4e846
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 27 deletions.
Loading

0 comments on commit 2c4e846

Please sign in to comment.