fix(tenant-router): build @cio/utils before wrangler bundle
Wrangler resolves @cio/utils/constants/* from dist/. Run utils build in predeploy, predev, and pretypecheck so Cloudflare deploy does not fail with a missing embeds module.
This commit is contained in:
@@ -29,6 +29,8 @@ It preserves the original host as `X-Forwarded-Host` so:
|
||||
|
||||
## Deploy
|
||||
|
||||
`deploy` runs `predeploy`, which builds `@cio/utils` first (Wrangler resolves `@cio/utils/constants/*` from `dist/`).
|
||||
|
||||
```bash
|
||||
pnpm --filter @cio/tenant-router deploy
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user