Skip to content

Commit 0b0831f

Browse files
committed
new config
1 parent cac2555 commit 0b0831f

3 files changed

Lines changed: 12 additions & 27 deletions

File tree

apps/api/vercel.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 2,
3-
"buildCommand": "pnpm build:api",
4-
"outputDirectory": ".output",
5-
"installCommand": "npm i -g pnpm && pnpm install",
3+
"buildCommand": "cd ../.. && pnpm build:api",
4+
"outputDirectory": ".output/public",
5+
"installCommand": "cd ../.. && pnpm install",
66
"framework": "nuxtjs"
77
}

apps/web/vercel.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"version": 2,
3+
"buildCommand": "cd ../.. && pnpm build:web",
4+
"outputDirectory": "dist",
5+
"installCommand": "cd ../.. && pnpm install",
6+
"framework": "vite",
7+
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }],
8+
"headers": [{ "source": "/assets/(.*)", "headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }] }]
9+
}

vercel.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)