-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have a very simple setup with copy. I just want to copy 2 files into a folder.
copy({
assets: {
from: [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/what-input/dist/what-input.min.js"
],
to: [ "js/vendor" ]
},
})However, it always fails when processing the 2nd file. If I switch the order of the files, it still fails on the 2nd one. I did a verbose output and got this.
i Resolve assert pair to path from: /Users/joeworkman/Developer/proton-sites-template/dist/assets
i Watching mode disabled. You need to enable build.watch option for watch mode to work.
i The from path node_modules/jquery/dist/jquery.min.js,node_modules/what-input/dist/what-input.min.js of current asset pair doesnot ends with /**/*(.ext),
i File copied: /Users/joeworkman/Developer/proton-sites-template/node_modules/jquery/dist/jquery.min.js -> /Users/joeworkman/Developer/proton-sites-template/dist/assets/js/vendor/jquery.min.js
i The from path node_modules/jquery/dist/jquery.min.js,node_modules/what-input/dist/what-input.min.js of current asset pair doesnot ends with /**/*(.ext),
ERR > /Users/joeworkman/Developer/proton-sites-template/node_modules/esbuild/lib/main.js:1649
let error = new Error(text);
^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels