Skip to content

lehni/gulp-whitespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'));
});

About

A simple gulp plugin that strips and converts white-space in text- and code- files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published