Skip to content

Commit

Permalink
Remove .next/cache to avoid large build artifacts in Cloudflare Pages…
Browse files Browse the repository at this point in the history
… deployment
  • Loading branch information
earth2travis committed Jan 22, 2025
1 parent 4125187 commit d04f93a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"clean": "rm -rf .next/cache",
"start": "next start",
"lint": "next lint",
"pages:build": "rm -rf .next && next build",
"preview": "bun run pages:build && wrangler pages dev",
"deploy": "bun run pages:build && wrangler pages deploy"
"pages:build": "rm -rf .next && next build && rm -rf .next/cache",
"pages:deploy": "npx @cloudflare/next-on-pages deploy .next",
"preview": "bun run pages:build && wrangler pages dev"
},
"dependencies": {
"@farcaster/frame-sdk": "^0.0.16",
Expand Down

0 comments on commit d04f93a

Please sign in to comment.