Skip to content

TrioMobil/gulp-strip-debug

 
 

Repository files navigation

gulp-strip-debug

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

exports.default = () => (
	gulp.src('src/app.js')
		.pipe(stripDebug())
		.pipe(gulp.dest('dist'))
);

About

Strip console, alert, and debugger statements from JavaScript code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%