It is most popular solution for splitting monolithic gulpfile and lazy loading of modules.
I think all developers made it by themselves
I didn't cover tests this function because there is some problem with loading files by require function and test it. But if it has important for this project I can create in test-runtime jsfile for test loading
Coverage decreased (-11.8%) to 86.525% when pulling e1eca19051f6a1f9f4570f29da404a1a849a58ef on aliaksandr-pasynkau:master into b74a5ff121471ed00b84fb1e73a0e75488d33ccd on gulpjs:master.
It is most popular solution for splitting monolithic gulpfile and lazy loading of modules. I think all developers made it by themselves
I didn't cover tests this function because there is some problem with loading files by
require
function and test it. But if it has important for this project I can create in test-runtime jsfile for test loading