Commit 22dd502
Fix Vercel build failure: remove TS generics from inline script and pin Node version
The Vercel deployment failed with `Expected ":" but found ")"` because
esbuild on Vercel parsed TypeScript generic syntax
(`querySelectorAll<HTMLButtonElement>`) as JavaScript comparison operators
in the blog page inline `<script>` tag.
- Remove TypeScript generics from blog/index.astro inline script (not
needed — code only uses `.dataset` and `.style` from base Element)
- Pin Node engine to >=22.12.0 to match Astro 6.x requirements and
prevent Vercel from auto-selecting an incompatible version
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff5b3f2 commit 22dd502
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments