Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umd support for unpkg ? #44

Open
oliverlj opened this issue Aug 29, 2021 · 2 comments
Open

umd support for unpkg ? #44

oliverlj opened this issue Aug 29, 2021 · 2 comments

Comments

@oliverlj
Copy link
Contributor

Hello
Can you add umd build ?

Why

This library is made for computation and in order to be use in web workers, a umd build would be great.

From unpkg docs :

Workflow
For npm package authors, unpkg relieves the burden of publishing your code to a CDN in addition to the npm registry. All you need to do is include your UMD build in your npm package (not your repo, that's different!).

You can do this easily using the following setup:

Add the umd (or dist) directory to your .gitignore file
Add the umd directory to your files array in package.json
Use a build script to generate your UMD build in the umd directory when you publish
That's it! Now when you npm publish you'll have a version available on unpkg as well.
@evert
Copy link
Owner

evert commented Aug 30, 2021

Not against this, but would be helpful to get a patch. Never used unpkg!

@oliverlj
Copy link
Contributor Author

in fact, my performance issue is not bigint money but html table rendering. I never use unpkg either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants