node-libs-browser
node-libs-browser copied to clipboard
use mock-fs to mock fs
would something like this work? https://www.npmjs.com/package/mock-fs
I think browserify-fs or fs-browserify might be better? dunno.
but definitely need an fs polyfill more than anything for most people
@ORESoftware I have added fs
polyfill pls review my PR #64
See this: https://github.com/streamich/memfs-webpack