I'm using multiple third-party npm packages that call require('stream/web') with either ReadableStream or TransformStream. If I had access to those modules, I'd be able to pass readable-stream's Readable or Transform to them, but I'm not able to unfortunately. It also seems I can't alias the stream/web path specifically in my babel config, so I'm a little on the fence in terms of how best to approach this.
Do you have any thoughts around the best way to solve for this? Also, is there a reason this package isn't a 1:1 with stream in terms of its paths/exports? Thanks!
Hi, thanks for making this package!
I'm using multiple third-party
npm
packages that callrequire('stream/web')
with eitherReadableStream
orTransformStream
. If I had access to those modules, I'd be able to passreadable-stream
'sReadable
orTransform
to them, but I'm not able to unfortunately. It also seems I can't alias thestream/web
path specifically in mybabel
config, so I'm a little on the fence in terms of how best to approach this.Do you have any thoughts around the best way to solve for this? Also, is there a reason this package isn't a 1:1 with
stream
in terms of its paths/exports? Thanks!