You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I flatten the folder structure and just copy the files? Similar to what copyfiles library does with -f option (https://www.npmjs.com/package/copyfiles).
I'm using cpx './dist/**/*.umd.js' './dest/assets', but this maintains the tree structure and creates all the subfolders in the destination directory. I need to copy just the files under the root of the destination folder.
The text was updated successfully, but these errors were encountered:
How can I flatten the folder structure and just copy the files? Similar to what
copyfiles
library does with-f
option (https://www.npmjs.com/package/copyfiles).I'm using
cpx './dist/**/*.umd.js' './dest/assets'
, but this maintains the tree structure and creates all the subfolders in the destination directory. I need to copy just the files under the root of the destination folder.The text was updated successfully, but these errors were encountered: