gulp-config-strip-debug
v1.0.0
Published
Strip alert, console and debugger statements from JavaScript code
Downloads
32
Maintainers
Readme
gulp-config-strip-debug
Strip
console
,alert
, anddebugger
statements from JavaScript code with config-strip-debug
Install
npm install --save-dev gulp-config-strip-debug
Usage
var gulp = require('gulp');
var stripDebug = require('gulp-config-strip-debug');
gulp.task('default', function () {
return gulp.src('src/app.js')
.pipe(stripDebug())
.pipe(gulp.dest('dist'));
});
Testing
For execute the unit tests:
npm test
Coverage
For generate the code coverage this module use the istambul. The code coverage report is generate in coverage/ folder.
Contribute
For contribute with this project, create a fork in github https://github.com/luizdesign/gulp-config-strip-debug.