In node.js, module.require is the basis for the require function. Browserify instead directly hands the require function over, without exposing any functionality as module.require.
I'm trying to browserify a module that uses defaultable, which heavily depends on the behavior of node.
It would be awesome if module.require could be at least a reference to the require function.
In node.js,
module.requireis the basis for therequirefunction. Browserify instead directly hands therequirefunction over, without exposing any functionality asmodule.require.I'm trying to browserify a module that uses defaultable, which heavily depends on the behavior of node.
It would be awesome if
module.requirecould be at least a reference to therequirefunction.