gulp-replace
gulp-replace copied to clipboard
Remove empty lines
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.