Commit ffcfabb
committed
fix Cloudflare deploy: add wrangler devDep and --config flag
The Astro cloudflare adapter generates wrangler.json in dist/server/
with the correct main and assets paths. The root wrangler.toml only
has name and nodejs_compat since adding main causes a chicken-and-egg
build failure. Deploy command passes --config to point at the
generated config.1 parent 0ecfb98 commit ffcfabb
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments