Skip to content

Commit b36e858

Browse files
committed
Add root vercel.json for proper monorepo build
1 parent 03656b7 commit b36e858

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

vercel.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"buildCommand": "npm install && npx bob build && cd example && npm install && npx expo export --platform web",
3+
"outputDirectory": "example/dist",
4+
"devCommand": "cd example && npx expo start --web",
5+
"installCommand": "npm install",
6+
"cleanUrls": true,
7+
"trailingSlash": false,
8+
"rewrites": [
9+
{
10+
"source": "/(.*)",
11+
"destination": "/index.html"
12+
}
13+
]
14+
}
15+

0 commit comments

Comments
 (0)