gulp-clone

Duplicate files in memory.
Install
Install with npm.
npm install --save-dev gulp-clone
Changelog
- 2.0.0: Possible Breaking change - The dependency from gutil has been dropped, this has been reported to cause a breaking change in some circumstances. Please continue to use the 1.0 branch if that would cause problems in your setup.
- 1.0.0: Breaking change - There is a new operating mode, as explained in the 1st example. The old
operating mode is still available under the
clone.sink()
property.
Example
gulp-clone is useful in all those situations where you perform a destructive operation on your files (as for example concat) and you want to keep your original files for further processing or saving.
var gulp = ;var concat = ;var clone = ;var es = ; gulp;
Example - Bypass mode
var gulp = ;var concat = ;var clone = ; var cloneSink = clone; gulp;
License
MIT @ Mario Casciaro