TO location is always created as a folder
SuzannePHSA opened this issue · 2 comments
SuzannePHSA commented
Running 3.8.0
I'm seeing that the "to" location is always created as a folder, rather than a file. This is the package.json
:
"copyFiles": [
{
"//": "--- Alpine ---",
"from": "../../../../node_modules/alpinejs/dist/cdn.min.js",
"to": "dist/js/alpine.min.js"
},
{
"//": "--- Focus plugin for Alpine ---",
"from": "../../../../node_modules/@alpinejs/focus/dist/cdn.min.js",
"to": "dist/js/alpine-focus.min.js"
}
This results in a folder called dist/js/alpine.min.js
containing a file called cdn.min.js
. If I rename the to
location to have the same name as the from
folder, the results are the same.
webextensions commented
@SuzannePHSA
Based on the provided information, the issue couldn't be reproduced and it seemed to work fine.
Can you try using the latest version of copy-files-from-to (v3.9.1) and provide the following information:
- Ensure that those output files/folders are removed (at least the problematic ones). Kindly confirm that this step was followed.
- The value provided for
"copyFilesSettings"
property, if it is not set, then kindly mention that. - Run the command with the
--verbose
option, like$ copy-files-from-to --verbose
and share the output
webextensions commented
Closing the issue due to lack of steps to reproduce.