We have a bunch of applications sharing common gulp logic, so we made a gulp plugin that contains a bunch of custom tasks.
However we\'d like to avoid installing gulp+o
Figured it out. Added the following line at the bottom of my module:
module.exports = gulp;
And my gulpfile in each module looks like this:
var gulp = require('gulp'); var mygulpplugin = require('mygulpplugin'); gulp.tasks = mygulpplugin.tasks;