building/bundling modules with node built-ins

I'm trying to use an npm module that relies on a node build-in (fs/promises) that is not available in the workers runtime. The actual library part of the module doesn't use that built-in, just the cli portion. Is it possible through some webpack magic to build with that module but exclude the incompatible node built-ins?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server