Closed seymen closed 3 years ago
You need to pass buffer: false
to gulp.src
, not this plugin.
thanks @sindresorhus - I guess when you put "supports streaming mode" in readme, you meant it supports stream as input.
I am still getting buffer as output from zip. Does this plugin support outputting stream instead of buffer? I am trying to pipe the output of zip to another write stream.
@issuehunt has funded $20.00 to this issue.
@gpoole Your PR fixes this, right?
Yes it should fix this issue.
-------- Original Message -------- On 10 Mar 2021, 6:10 pm, Sindre Sorhus wrote:
@gpoole Your PR fixes this, right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@sindresorhus has rewarded $18.00 to @gpoole. See it on IssueHunt
Oh thanks for that @sindresorhus, appreciate it!
Hi,
I cannot get streaming output working. Here is what I am trying:
This basically sources a directory in, zips and pipes the output to a function called a(). In this function I am just asserting whether zip is buffer or not.
I am getting this output in console:
Possible to help? Perhaps I am doing something wrong.
Cheers
IssueHunt Summary
#### [ gpoole](https://issuehunt.io/u/gpoole) has been rewarded. ### Backers (Total: $20.00) - [ issuehunt](https://issuehunt.io/u/issuehunt) ($20.00) ### Submitted pull Requests - [#118 Add support for streaming output with option](https://issuehunt.io/r/sindresorhus/gulp-zip/pull/118) --- ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/sindresorhus/gulp-zip/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.