undebug
v1.0.0
Published
A browserify transform plugin for clearing code between 2 blocks of debug comments
Downloads
13
Maintainers
Readme
browserify-undebug
Browserify transform plugin for removing code between //<debug> and //</debug> sequences
Transforms this
var greeting = 'Hello World'
//<debug>
greeting += ' debug'
//</debug>
console.log(greeting)
into
var greeting = 'Hello World'
console.log(greeting)
Usage
browserify development.js -t undebug -o production.js