Closed urgent closed 4 years ago
Thank you for the PR! Added some questions about the config. Also, mind if I add this to the docs for the SDK on our docs website? https://github.com/datproject/docs/pull/170
You're welcome.
Not at all! Glad I could contribute.
Sweet. Thank you! 😁
This commit provides a webpack config for a bundle similiar to browserify.
Browserify bundles to an empty function for
fs
, and for each module declaresfs
as agraceful-fs
require.https://benclinkinbeard.com/posts/how-browserify-works/
The webpack bundle built from this commit's config resolves
graceful-fs
as an alias tofs
.fs
used in dat-sdk/index for browser/hyperdrive IO:https://github.com/random-access-storage/random-access-web