Skip to content

Commit 99a4ac1

Browse files
Fix Vercel deploy: set output directory to build
Remove explicit adapter-static options for zero-config Vercel detection and add vercel.json to point Vercel at the build output directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 971bb63 commit 99a4ac1

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

site/svelte.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ import adapter from '@sveltejs/adapter-static';
33
/** @type {import('@sveltejs/kit').Config} */
44
const config = {
55
kit: {
6-
adapter: adapter({
7-
pages: 'build',
8-
assets: 'build',
9-
fallback: undefined,
10-
precompress: false,
11-
strict: true
12-
}),
6+
adapter: adapter(),
137
}
148
};
159

site/vercel.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"outputDirectory": "build"
3+
}

0 commit comments

Comments
 (0)