These limit the require to only js files.
Would be nice if, eg via an optional parameter, also other files could be included, eg coffee (only make extension configurable, being able to use coffee should be done outside this lib)
Perhaps even better if also the function could be made public, so that it could be used in construction of the handler object. Eg to do
See:
These limit the
require
to onlyjs
files. Would be nice if, eg via an optional parameter, also other files could be included, eg coffee (only make extension configurable, being able to use coffee should be done outside this lib)Perhaps even better if also the function could be made public, so that it could be used in construction of the handler object. Eg to do