blog menu page & blog article page
This commit is contained in:
34
node_modules/gulp-copy/README.md
generated
vendored
Normal file
34
node_modules/gulp-copy/README.md
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
[](https://www.npmjs.com/package/gulp-copy)
|
||||
[](https://circleci.com/gh/klaascuvelier/gulp-copy/)
|
||||
|
||||
# gulp-copy
|
||||
|
||||
Copy 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 `gulp.dest`.
|
||||
A reason to use this package would be to keep some depth (prefix options).
|
||||
|
||||
## Usage
|
||||
```
|
||||
// gulpfile.js
|
||||
|
||||
var gulpCopy = require('gulp-copy');
|
||||
var otherGulpFunction = require('gulp-other-function');
|
||||
var sourceFiles = [ 'source1/*', 'source2/*.txt' ];
|
||||
var destination = 'dest/';
|
||||
|
||||
return gulp
|
||||
.src(sourceFiles)
|
||||
.pipe(gulpCopy(outputPath, options))
|
||||
.pipe(otherGulpFunction())
|
||||
.dest(destination);
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
`prefix`: integer, defining how many parts of the path (separated by /) should be removed from the original path
|
||||
|
||||
## Updates
|
||||
|
||||
See [changelog](CHANGELOG.md) for all updates.
|
||||
Reference in New Issue
Block a user