You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking for a way to pass default options, applied to all require invocations (unless overridden by per-invocation options). So, I'd like to do things like this:
require = require('really-need')({... some default options...})
and then later on, in any given module:
var mymodule = require("mymodule")
where since I haven't supplied an options object, the defaults specified when I required really-need would be used.
great project btw, very innovative.
The text was updated successfully, but these errors were encountered:
Looking for a way to pass default options, applied to all require invocations (unless overridden by per-invocation options). So, I'd like to do things like this:
require = require('really-need')({... some default options...})
and then later on, in any given module:
var mymodule = require("mymodule")
where since I haven't supplied an options object, the defaults specified when I required really-need would be used.
great project btw, very innovative.
The text was updated successfully, but these errors were encountered: