Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

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

exports.default = () => (
	gulp.src('src/app.js')
		.pipe(stripDebug())
		.pipe(gulp.dest('dist'))
);
You can’t perform that action at this time.