1.

Is There Any Way To Load All Gulp Plugins In One Go?

Answer»

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().

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

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().



Discussion

No Comment Found