Commit 4a4a3f8
fix: output build artifacts to project cwd instead of package dir
Nitro's vercel preset resolves output from rootDir which defaults to
Vite's root (packageRoot). Override output.dir and publicDir via
nitro config to resolve from projectRoot (cwd).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c4d433b commit 4a4a3f8
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
99 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
0 commit comments