Find files using glob patterns.
$ yarn add --dev @start/plugin-find
find(glob: string | string[], options?: {})
Default:
{
ignore: ['node_modules/**']
}
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/')
)