gulp-config-strip-debug

1.0.0 • Public • Published

gulp-config-strip-debug

Build Status

Strip console, alert, and debugger 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.

/gulp-config-strip-debug/

    Package Sidebar

    Install

    npm i gulp-config-strip-debug

    Weekly Downloads

    13

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • luizkota