Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

browser fix - pre-load files with brfs #17

Closed
wants to merge 1 commit into from

Conversation

kumavis
Copy link

@kumavis kumavis commented Oct 19, 2016

We are loading a file via fs here https://github.com/libp2p/js-libp2p-crypto/blob/master/src/index.js#L6

This breaks support for module consumers using browserify. The brfs module fixes this. The flag in the package.json indicates that this module requires pre-processing via the local brfs dependency to be imported correctly.

@kumavis
Copy link
Author

kumavis commented Oct 19, 2016

this fix is also required for browserify support: #16

@dignifiedquire
Copy link
Member

#12 removes the use of brfs entirely and is hopefully getting shipped in the next two weeks.

@kumavis
Copy link
Author

kumavis commented Oct 20, 2016

I'll wait 👍

@kumavis kumavis closed this Oct 20, 2016
@kumavis kumavis deleted the patch-2 branch October 20, 2016 17:38
wemeetagain pushed a commit to ChainSafe/js-libp2p-crypto that referenced this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants