Skip to content

Latest commit

 

History

History

plugin-copy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

👯 plugin-copy

Copy files to relative destination using streams and keeping folders structure.

Install

$ yarn add --dev @start/plugin-copy

Usage

Signature

copy(outDirRelative: string)

Example

import sequence from '@start/plugin-sequence'
import find from '@start/plugin-find'
import copy from '@start/plugin-copy'

export const task = () =>
  sequence(
    find('src/**/*.json'),
    copy('build/')
  )