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

Add browser friendly build #18

Closed
wants to merge 5 commits into from

Conversation

blikblum
Copy link
Member

This adds a browser build that does not depends on node "fs" module, so no need to run brfs when targeting browser environments

It also benefits node users with memory reduction since removes base64-js dependency and no intermediary base64 encoded data is loaded into memory

A "browser" entry is added to package.json and tests are adapted to run with both builds

@devongovett
Copy link
Member

I'd like to avoid adding too many bespoke build scripts to these projects that we'll have to maintain. I'm proposing using Parcel for this, which will handle most of what we need automatically. See #21.

@blikblum
Copy link
Member Author

I'm proposing using Parcel for this

I agree with that but there are still some work to do in parcel side (see notes in the parcel PR).

In the mean time can we release with the custom build?

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

Successfully merging this pull request may close these issues.

None yet

2 participants