+4
-5
| 'use strict'; | ||
| var through = require('through2'); | ||
@@ -11,8 +10,8 @@ var Route = require('rte'); | ||
| function route(file, enc, cb) { | ||
| return through.obj(function(file, enc, cb) { | ||
| var options = extend({}, {dest: file.base}, opts); | ||
| file.path = rte.dest(file.path, 'dest', options); | ||
| cb(null, file); | ||
| } | ||
| return through.obj(route); | ||
| this.push(file); | ||
| cb(); | ||
| }); | ||
| }; |
+2
-2
| { | ||
| "name": "gulp-rte", | ||
| "description": "Better dest handling for Gulp.", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "homepage": "https://github.com/jonschlinkert/gulp-rte", | ||
@@ -58,3 +58,3 @@ "author": { | ||
| "dependencies": { | ||
| "rte": "^0.2.1", | ||
| "rte": "^0.2.2", | ||
| "through2": "^0.5.1", | ||
@@ -61,0 +61,0 @@ "xtend": "^3.0.0" |
13838
-0.03%Updated