gulp-replace icon indicating copy to clipboard operation
gulp-replace copied to clipboard

Remove empty lines

Open demisx opened this issue 7 years ago • 12 comments

Is it possible to remove empty lines in files using gulp-replace? I've tried this, but it didn't work:

  .pipe(replace(/^\s*$/, '', { skipBinary: true }))

Thanks.

demisx avatar Sep 21 '16 04:09 demisx