-- plugins
---- myplugin1
------ core
---- myplugin2
------ core
If this is my directory structure, is there any way for me to import all core
folders from plugins
without knowing the name myplugin1
etc?
require('/plugins/./core')
I know how to require from parent folders... but there seem to be nothing about child folders?