endebuggify
Browserify transform that eliminates console.log
lines from source code.
Similar to stripify, but has an option to specify files in glob pattern to retain the debugging codes.
Usage
npm install endebuggify
$ browserify -t [ endebuggify --target 'path/to/module/*' ]