Commit 74394fa
committed
build: add build:web script + pin Node for Cloudflare web deploy
clients/web imports @cumulusvpn/core via workspace:* (its built dist), so the
web build must build core first. Root `yarn build` can't be used by Cloudflare
because `foreach` also builds the desktop (Tauri/Rust) workspace, which fails in
a JS build image. Add `build:web` (core → web only) as the Cloudflare build
command, and pin Node 22 (.node-version) so the build image matches Vite 8's
requirement.1 parent 846ed74 commit 74394fa
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments