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:
@@ -5,9 +5,12 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "wrangler dev",
|
||||
"predev": "pnpm --filter @cio/utils build",
|
||||
"deploy": "wrangler deploy",
|
||||
"predeploy": "pnpm --filter @cio/utils build",
|
||||
"tail": "wrangler tail",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"pretypecheck": "pnpm --filter @cio/utils build",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user