Skip to content

deprecate/gulp-removelogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin is depricated in favour of gulp-strip-debug

gulp-removelogs NPM version Build status

Strip of logs from a file.

Usage

First, install gulp-removelogs as a development dependency:

npm install --save-dev gulp-removelogs

Then, add it to your gulpfile.js:

var removeLogs = require('gulp-removelogs');

gulp.task('default', function(){
  gulp.src('index.js')
    .pipe(removeLogs())
    .pipe(gulp.dest('build/index.js'));
});

The above with strip of all console realated logs from index.js

About

[deprecated] gulp plugin to remove console.log statements

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •