https://github.com/duzun/gulp-multidest
pipe gulp streams to multiple destinations
https://github.com/duzun/gulp-multidest
Last synced: 6 months ago
JSON representation
pipe gulp streams to multiple destinations
- Host: GitHub
- URL: https://github.com/duzun/gulp-multidest
- Owner: duzun
- License: mit
- Created: 2016-03-17T17:47:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T12:54:45.000Z (over 5 years ago)
- Last Synced: 2025-03-30T11:34:29.596Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-multidest
Equivalent of `gulp.dest(path)` with support of Array `path`.
## Install
```sh
npm i gulp-multidest -D
```## Usage
```js
var gulp = require('gulp');
var gulp_dest = require('gulp-multi-dest');var options = { mode: 0777 };
gulp.task('default', function() {
return gulp.src('./src/*.js')
// .pipe(process())
.pipe(gulp_dest(['./dist/', './build/', './test/'], options))
;
});
```