gulp-strip-debug

3.0.0 • Public • Published

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

Usage

const gulp = require('gulp');
const stripDebug = require('gulp-strip-debug');
 
gulp.task('default', () =>
    gulp.src('src/app.js')
        .pipe(stripDebug())
        .pipe(gulp.dest('dist'))
);

License

MIT © Sindre Sorhus

install

npm i gulp-strip-debug

Downloadsweekly downloads

10,076

version

3.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability