endebuggify

v1.0.1
Eliminate console.log/warn/error() statement from source file, except for files matching given pattern.
browserify browserify-transform strip debug debugger log logging console console.log and 5 more...

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/*' ]
npm i endebuggify

Metadata

  • MIT
  • Whatever
  • Shinichi Tomita
  • released 8/10/2015

Downloads

Maintainers