[Pages] Running script requires package

One of my scripts to run executes the following:
tsc --build && copyfiles -u 1 src/**/*.css dist
tsc --build && copyfiles -u 1 src/**/*.css dist
Cloudflare says that the command copyfiles is not found, which is kind of expected. Locally I installed copyfiles via npm install copyfiles -g. How can I run copyfiles on Cloudflare?
1 Reply
Mathieu
MathieuOP13mo ago
Looks like I jsut had to add npm install copyfiles -g && I couldnt imagine this was allowed to do hehe
Want results from more Discord servers?
Add your server