Skip to content

Strip console, alert, and debugger statements from JavaScript code

License

Notifications You must be signed in to change notification settings

sindresorhus/gulp-strip-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gulp-strip-debug

Strip console, alert, and debugger statements from JavaScript code with strip-debug

Install

npm install --save-dev gulp-strip-debug

Usage

import gulp from 'gulp';
import stripDebug from'gulp-strip-debug';

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

About

Strip console, alert, and debugger statements from JavaScript code

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •