0 votes
in JAVA by
Is there any way to load all gulp plugins in one go?

1 Answer

0 votes
by
Yes, there is. Rather than specifying require for each plugin, gulp-load-plugins will search your packages.json file and automatically include them as plugins.pluginName().

var gulp = require('gulp'),

var plugins = require('gulp-load-plugins')();
...