Uses dynamic import() to recursively loop through a directory tree, import all index.mjs files and return an array of references to the imported modules