A browserify transform for
files. Should work with browserify >= 5.x.x.
It accomplishes this by wrapping the contents of the file in a
module.exports = '<contents>' block.
Install via NPM:
npm install browserify-requireify
requireify is already taken :(
var browserify =requireify = ;var b = ;b;b;
extensions: An array of (case-insensitive) file extensions.
requireify won't do anything
if the file doesn't have an extension contained in this array.
Run tests with