在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):klaascuvelier/gulp-copy开源软件地址(OpenSource Url):https://github.com/klaascuvelier/gulp-copy开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-copyCopy source files to new destination and use that destination as new source (for further piping). Automatically creates needed folders before proceeding. Ability to remove 'prefixes' from path. Most likely you don't need this package for your gulp pipeline, a lot can be accomplished with just Usage// gulpfile.js
var gulpCopy = require('gulp-copy');
var otherGulpFunction = require('gulp-other-function');
var sourceFiles = ['source1/*', 'source2/*.txt'];
var destination = 'dest/';
var outputPath = 'some-other-dest/';
return gulp
.src(sourceFiles)
.pipe(gulpCopy(outputPath, options))
.pipe(otherGulpFunction())
.dest(destination); Options
ExampleA simple implemention of a gulpfile using UpdatesSee changelog for all updates. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论