node-libs-browser icon indicating copy to clipboard operation
node-libs-browser copied to clipboard

use mock-fs to mock fs

Open dey-dey opened this issue 7 years ago • 3 comments

would something like this work? https://www.npmjs.com/package/mock-fs

dey-dey avatar Mar 07 '17 20:03 dey-dey

I think browserify-fs or fs-browserify might be better? dunno.

but definitely need an fs polyfill more than anything for most people

ORESoftware avatar Apr 05 '17 06:04 ORESoftware

@ORESoftware I have added fs polyfill pls review my PR #64

streamich avatar Aug 13 '17 15:08 streamich

See this: https://github.com/streamich/memfs-webpack

streamich avatar Aug 20 '17 20:08 streamich