mdierker
Explore posts from serversCDCloudflare Developers
•Created by mdierker on 4/16/2024 in #pages-help
Larger bundle size for Workers Paid not applying?
Thank you! I'll switch to that. Last dumb question: For bundle size, is there a command I can run locally to get the full functions bundle with the size the way Cloudflare measures it? I've been using
npx wrangler pages functions build
, but it's still larger than the 1MB allowed.6 replies
CDCloudflare Developers
•Created by mdierker on 4/16/2024 in #pages-help
Larger bundle size for Workers Paid not applying?
I see, thank you! I understand how to fix that. If I switch to deploying from Github, does that wind up showing all the errors? (Is the silent failure for local deploys?)
6 replies
CDCloudflare Developers
•Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
lol -- after hours of debugging, the problem was that I was using the default
npm run build
when it should have been yarn build
. 🤦♂️ Works on my local machine presumably because I have global TypeScript installed. TIL those aren't equivalent.7 replies
CDCloudflare Developers
•Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
Any tips?
7 replies
CDCloudflare Developers
•Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
Full deploy log from a sample deployment
7 replies
CDCloudflare Developers
•Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
"typescript": "^5.0.2",
is in my package.json and I've tried it in both devDependencies and regular dependencies.7 replies