node-ignorify
Browserify middleware that allows to specify ignore rules in source code
Installation
$ npm install ignorify
Usage
Just throw the ignorify tag before the require statement you want to be ignored by browserfy.
//@browserify-ignorevar foo = ;
Then, during the bundling specify the ignorify middleware :
var browserify = ;var ignorify = ; var bundle = ;bundle;bundle;bundle;
Or :
$ browserify entry.js -p 'ignorify' -o browserify.js
Test
$ npm test