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')();

Related questions

0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
0 votes
asked May 3, 2021 in JAVA by Robindeniel
...