Closed JounQin closed 2 years ago
I installed latest cpy with yarn add cpy@sindresorhus/cpy.
cpy
yarn add cpy@sindresorhus/cpy
// copy.js // @ts-check import cpy from 'cpy' const args = process.argv.slice(2) cpy(args, args.pop())
node copy 'node_modules/shiki/{dist/*.wasm,languages,themes}/**' public/shiki
node copy 'node_modules/shiki/{dist/*.wasm,languages,themes}/**' public/shiki/_ # note the `/_` here
I also tried the following one and it failed.
node copy 'node_modules/shiki/{dist/*.wasm,languages/**,themes/**}' public/shiki
But the following one also worked
node copy 'node_modules/shiki/{dist/*.wasm,languages/**,themes/**}' public/shiki/_
cc @Idered
@JounQin I found the issue and I'm working on solution
I installed latest
cpy
withyarn add cpy@sindresorhus/cpy
.I also tried the following one and it failed.
But the following one also worked