Chore
Describe the chore
The npm bundle uses the source ESM files directly. Providing both CJS and ESM builds for maximum compatibility in the vast JS ecosystem would be nice.
Additional context
I suggest two changes:
- Convert the source files to Typescript (To generate the
index.d.ts file automatically).
- Configure the project to build for both ESM and CJS.
I would be happy to help with a PR.
Chore
Describe the chore
The
npmbundle uses the source ESM files directly. Providing both CJS and ESM builds for maximum compatibility in the vast JS ecosystem would be nice.Additional context
I suggest two changes:
index.d.tsfile automatically).I would be happy to help with a PR.