1.0.1 • Published 10 years ago
gulp-walc v1.0.1
gulp-walc
Removes
consoleoralertfunctions in your scripts.
Install
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-walc
Usage
var walc = require('gulp-walc');
gulp.task('clean', function() {
return gulp.src('app/*.js')
.pipe(walc({console:'comment'}))
.pipe(gulp.dest('dist'));
});Options
console: Pass'ignore'or'comment', default is'remove'.alert: Idemconsole.
Notes
If no options object is passed, 'remove' action will be executed.