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

Distribute as a single NPM package #657

Open
klntsky opened this issue Jan 12, 2024 · 1 comment
Open

Distribute as a single NPM package #657

klntsky opened this issue Jan 12, 2024 · 1 comment

Comments

@klntsky
Copy link

klntsky commented Jan 12, 2024

browser field in a package.json allows to point the bundler to an alternative source specifically when bundling for the browser.

Therefore, CSL could be distributed as a single NPM package instead of -nodejs and -browser versions.

For example, we vendored CSL and did exactly that:

https://www.npmjs.com/package/@mlabs-haskell/cardano-serialization-lib-gc - see source package.json

@lisicky
Copy link
Contributor

lisicky commented Jan 15, 2024

Hi @klntsky ! Thanks it's good idea to consider merging CSL into one package at least for nodejs and browser version. It's not priority for us now, but we will consider it.
cc @vsubhuman

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