Add vercel.json for zero-config deploys of the demo site

Builds core -> widget -> demo and serves packages/demo/dist as the output
directory, so importing the repo in Vercel needs no manual build settings.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GWJbXXhvTx9wo59jSz57J6
This commit is contained in:
Claude committed 2026-07-21 03:46:56 +00:00
1 parent 5ee63ae6b0
commit 0991a5c68f
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
{
"buildCommand": "npm run build -w @bitlogin/core && npm run build -w @bitlogin/widget && npm run build -w @bitlogin/demo",
"outputDirectory": "packages/demo/dist",
"cleanUrls": true
}