I'm using the gulp-load-plugins
, and I'm trying to print the loaded plugins:
console.log(JSON.stringify(plugins));
but it only prints {}
.
Is there anyway to print the loaded plugins and the names assigned to the plugins.
UPDATE: Got it working:
- Set lazy loading to false
add
console.log(plugins);
after the runnung taskvar plugins = require('gulp-load-plugins')({lazy:false});
...
gulp.task('default', ['styles']);
console.log(plugins);