JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20754
  • Score
    100M100P100Q132199F

Plugin copying files to a new destination and using that destionation for other actions

Package Exports

  • gulp-copy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-copy

Copy source files to new destination and use that destination as new source

Automatically creates needed folders before proceeding. Ability to remove 'prefixes' from path>

Usage

return gulp.src(sourceFiles)
  .pipe($.copy(outputPath, options));
  

Options

prefix: integer, defining how many parts of the path (separated by /) should be ignored as they are prefixes

Releases

0.0.2 Streams release

  • use nodejs streams to write files (instead of cp command)
  • fix callback issues (which probably will fix the too many open files bug)

0.0.1 Initial release

  • initial code