This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: rewrite bundled extensions to mjs for esm build (#86)
The current `index.mjs` re-exports from the CJS `.js` files instead of the ESM `.mjs` files: https://unpkg.com/browse/tupleson@0.23.0/lib/index.mjs. I guess tsup does not rewrite the extensions. This PR adds an esbuild plugin to rewrite the extensions for the ESM build.
- Loading branch information