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

Browser build #11

Open
RReverser opened this issue Apr 22, 2020 · 1 comment
Open

Browser build #11

RReverser opened this issue Apr 22, 2020 · 1 comment

Comments

@RReverser
Copy link

Would it be possible to provide an easy way to include script from the browser?

E.g. https://unpkg.com/benny would be perfect, but currently results in a CommonJS version built for Node.js, because there is no browser build of the library.

Alternatively, maybe it's worth changing output to ESM? Then it can be compatible with both (latest) Node.js as well as browsers automatically.

@domoritz
Copy link

I would love a browser built as well. It would be especially great if one could load it on https://observablehq.com, which best works with esm or amd builds.

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