nx-plugins icon indicating copy to clipboard operation
nx-plugins copied to clipboard

`to` is treated as a file if directory contains a dot

Open ilijapuaca opened this issue 1 year ago • 1 comments

When specifying a glob for the from property, and using a folder name with a dot for to, the result is a file that's few bytes large instead of a folder containing all the glob matches.

Trivial example:

...
{
  from: './**/*',
  to: './foo.bar'
}

ilijapuaca avatar Apr 05 '23 22:04 ilijapuaca

encounter the same issue, it essentially doesn't allow me to copy 'chart.js' library as it treats the to as a file

Mykyta-Chernenko avatar Aug 29 '23 09:08 Mykyta-Chernenko