sighjs / sigh

multi-process expressive build system for the web and node.js, built using baconjs observables
209 stars 12 forks source link

Allow to write plugins as a local modules #42

Open Strate opened 8 years ago

Strate commented 8 years ago

It would be very nice if sigh allows something like this:

// Sigh.js file

var myPlugin = require("./sigh/myPlugin")

module.exports = function(pipelines) {
  pipelines["task"] = [
    glob(),
    myPlugin()
  ]
}
insidewhy commented 8 years ago

Could be cool.