diff --git a/README.md b/README.md index fd64775..a91fd4e 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,9 @@ Type: `Object` Options passed to [factor-vinylify](https://github.com/zoubin/factor-vinylify#options). +### r = reduce.Reduce() +Create a new reduce instance + ### w = reduce.watch(watchifyOpts) Creates a watch instance. diff --git a/index.js b/index.js index 26f24f1..5c57123 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,6 @@ -exports = module.exports = require('./lib/reduce')() +var Reduce = require('./lib/reduce') +exports = module.exports = Reduce() +exports.Reduce = Reduce exports.watch = require('./lib/watch') exports.lazypipe = require('lazypipe') exports.dest = require('vinyl-fs').dest