gulp-whitespace
v0.1.0
Published
Strips and converts white-space in any type of text-file.
Downloads
1,899
Maintainers
Readme
gulp-whitespace
A simple gulp plugin that strips and converts white-space in text- and code- files.
Copyright © 2016, Jürg Lehni.
var gulp = require('gulp');
var whitespace = require('gulp-whitespace');
gulp.task('whitespace', function() {
return gulp.src('./src/*.js')
.pipe(whitespace({
spacesToTabs: 4,
removeTrailing: true
}))
.pipe(gulp.dest('./dest'));
});