Closed johannchopin closed 2 years ago
I think https://github.com/sindresorhus/cpy/pull/77 will resolve your issue.
@sindresorhus
Is the following expected because https://github.com/sindresorhus/cpy/pull/77 has been merged?
cpy node_modules/shiki/{dist,languages,themes} public/shiki --parents
This is now fixed in cpy
, so someone just needs to bring the updates here. https://github.com/sindresorhus/cpy/releases/tag/v9.0.0
Hey π First thanks for the effort put in this project π
I have a project structure that looks like this:
And I want to copy the
public
folder fromnode_modules/module/public
into thesrc/public
folder. So I run this command:It works but the final
src/public
folder contains all the files but not the initial folder structure:And if I run it with the
--parents
I got this structure:Has someone an idea how I could get the expected folder structure?
Thanks in advance π