Skip to content

Transpiles '.plumber()' to '.pipe(plumber())' in Gulp contexts.

License

Notifications You must be signed in to change notification settings

fox-projects/babel-plugin-improved-gulp-pipelines

Repository files navigation

babel-improved-gulp-pipelines

Transpiles function calls that extend from a gulp.src() or src() call to add .pipe()

Example

Input

gulp
	.src('style.css')
	.plumber()
	.postcss()
	.rename('style.min.css')
	.gulp.dest('dist')

Output

gulp
	.src('style.css')
	.pipe(plumber())
	.pipe(postcss())
	.pipe(rename('style.min.css'))
	.pipe(gulp.dest('dist'))

Usage

{
	"plugins": ["babel-plugin-improved-gulp-pipelines"]
}

Contributing

git clone https://github.com/hyperupcall/babel-improved-gulp-pipelines
cd babel-improved-gulp-pipelines
pnpm i -r
pnpm publish

About

Transpiles '.plumber()' to '.pipe(plumber())' in Gulp contexts.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published