Currently the published dist folder contains separate compiled files.
Consider publishing bundles instead. Here are a few suggestion:
- UMD: for using in browsers with
<script> tag
- CJS: for Node.js with
require
- ESM: for Node.js or TypeScript with
import
If you're interested I can open a PR.
Currently the published
distfolder contains separate compiled files.Consider publishing bundles instead. Here are a few suggestion:
<script>tagrequireimportIf you're interested I can open a PR.