File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,18 +14,22 @@ Connect the repository to a Cloudflare Worker using Git integration.
1414
1515Recommended settings:
1616
17- - Project name: ` bub-website `
17+ - Project name: ` bub `
1818- Build command: ` pnpm install --frozen-lockfile && pnpm build `
1919- Deploy command: ` pnpm wrangler deploy `
2020- Path: ` website `
2121- Environment variable: ` SITE_URL=https://bub.build `
2222- Environment variable: ` NODE_VERSION=22.16.0 `
2323
24- The repo also includes [ wrangler.jsonc] ( ./wrangler.jsonc ) so local preview and
25- Cloudflare Workers runtime settings stay aligned:
24+ The repo keeps a minimal [ wrangler.jsonc] ( ./wrangler.jsonc ) and relies on
25+ Astro/Wrangler's default Cloudflare integration for the generated Worker
26+ configuration.
2627
27- - ` main = "./node_modules/@astrojs/cloudflare/dist/entrypoints/server.js" `
28- - ` compatibility_flags = ["nodejs_compat"] `
28+ The repo also includes [ public/.assetsignore] ( ./public/.assetsignore ) for the
29+ SSR Worker build:
30+
31+ - ` _worker.js `
32+ - ` _routes.json `
2933
3034Production deployment is handled by Cloudflare Workers Git integration instead of
3135GitHub Actions.
Original file line number Diff line number Diff line change 1+ _worker.js
2+ _routes.json
Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/wrangler/config-schema.json" ,
3- "name" : " bub-website" ,
4- "main" : " ./node_modules/@astrojs/cloudflare/dist/entrypoints/server.js" ,
5- "compatibility_date" : " 2026-04-15" ,
6- "compatibility_flags" : [
7- " nodejs_compat"
8- ]
3+ "name" : " bub"
94}
You can’t perform that action at this time.
0 commit comments