Discussions

Ask a Question
Back to All

Loading All Files In A Directory

I was wondering if its possible to specify a directory location rather than a set of files when loading modules?

For example:
/modules/module1.js
/modules/module2.js
...

Could I load all the modules in that directory?