gulp-strip-debug
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/gulp-strip-debug package

6.0.0 • Public • Published

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

Package Sidebar

Install

npm i gulp-strip-debug

Weekly Downloads

39,108

Version

6.0.0

License

MIT

Unpacked Size

2.99 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus