gulp-strip-debug

Strip console and debugger statements from JavaScript code

npm install gulp-strip-debug
44 downloads in the last day
242 downloads in the last week
1 089 downloads in the last month

gulp-strip-debug Build Status

Strip console, alert, and debugger statements from JavaScript code with strip-debug

Install

$ npm install --save-dev gulp-strip-debug

Example

var gulp = require('gulp');
var stripDebug = require('gulp-strip-debug');

gulp.task('default', function () {
    gulp.src('src/app.js')
        .pipe(stripDebug())
        .pipe(gulp.dest('dist'));
});

License

MIT © Sindre Sorhus

npm loves you