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

Improve bundler support #147

Closed
jeluard opened this issue Jun 7, 2023 · 1 comment
Closed

Improve bundler support #147

jeluard opened this issue Jun 7, 2023 · 1 comment

Comments

@jeluard
Copy link

jeluard commented Jun 7, 2023

Some bundler do not support helia due to a missing main attribute in package.json.

See more details here.

@achingbrain
Copy link
Member

Helia uses the exports map and not the legacy main field as you have found.

Looks like you also found out how to turn on support for the exports map in Parcel, I'm glad they finally added support for this, though it does not appear to be without bugs for certain setups.

There's an example of how to use Helia with Parcel here - these bundlers are able to bundle Helia so so I don't think there's anything else to do here.

achingbrain added a commit that referenced this issue Jan 8, 2024
Updates all deps and fixes linting errors.

BREAKING CHANGE: uses multiformats v13 and helia v3
achingbrain pushed a commit that referenced this issue Jan 8, 2024
## [@helia/unixfs-v2.0.0](https://github.com/ipfs/helia-unixfs/compare/@helia/unixfs-v1.4.3...@helia/unixfs-v2.0.0) (2024-01-08)

### ⚠ BREAKING CHANGES

* uses multiformats v13 and helia v3

### Features

* update helia to v3 and multiformats to v13 ([#147](ipfs/helia-unixfs#147)) ([001247c](ipfs/helia-unixfs@001247c))

### Trivial Changes

* update sibling dependencies ([1b0b2ef](ipfs/helia-unixfs@1b0b2ef))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants