Skip to content

Latest commit

 

History

History
 
 

plugin-find

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🔍 plugin-find

Find files using glob patterns.

Install

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

Usage

Signature

find(glob: string | string[], options?: {})

glob

minimatch patterns.

options

fast-glob options.

Default:

{
  ignore: ['node_modules/**']
}

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/')
  )