PhraseEngine icon indicating copy to clipboard operation
PhraseEngine copied to clipboard

Publish bundles instead of separate files

Open MunifTanjim opened this issue 6 years ago • 1 comments
trafficstars

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.

MunifTanjim avatar Jul 24 '19 08:07 MunifTanjim

Although I assigned this to myself, it's getting harder for me to maintain these open source projects. I'd love the PR. At the same time, I'll see what I can do.

omranjamal avatar Mar 29 '20 13:03 omranjamal