With the documentation split between: https://docs.solidjs.com and https://start.solidjs.com, it can be confusing to find what you’re looking for. Heres things that I often find myself searching for.
Deploying to Vercel
// app.config.ts
export default defineConfig({
server: {
preset: 'vercel'
}
});
If you are deploying to multiple locations, vercel always injects process.env.VERCEL
.