Transpiles function calls that extend from a gulp.src()
or src()
call to add .pipe()
gulp
.src('style.css')
.plumber()
.postcss()
.rename('style.min.css')
.gulp.dest('dist')
gulp
.src('style.css')
.pipe(plumber())
.pipe(postcss())
.pipe(rename('style.min.css'))
.pipe(gulp.dest('dist'))
{
"plugins": ["babel-plugin-improved-gulp-pipelines"]
}
git clone https://github.com/hyperupcall/babel-improved-gulp-pipelines
cd babel-improved-gulp-pipelines
pnpm i -r
pnpm publish