Supported Platforms
Resolid provides built-in presets for the following deployment platforms:Node.js
Deploy to any Node.js environment
Vercel
Deploy to Vercel serverless functions
Netlify
Deploy to Netlify Functions
Platform Selection
Select your deployment platform inresolid.config.ts using the defineDevConfig function:
resolid.config.ts
Configuration Options
All platforms support the following common configuration options:The deployment platform:
"node", "vercel", or "netlify"Node.js runtime version (e.g., 18, 20, 22, 24)
Directory containing your application code
Additional files to include in the deployment bundle
Server entry file path
Dynamic Platform Detection
You can automatically detect the platform based on environment variables:resolid.config.ts
Server Setup
Create a server file that conditionally exports the appropriate server for your platform:src/server.ts
Build Process
All platforms use the same build command:- Bundles client-side assets with Vite
- Bundles server code with the platform-specific preset
- Optimizes and minifies code for production
- Generates platform-specific configuration files
Next Steps
Choose your deployment platform to learn more:Node.js Setup
Traditional server deployment
Vercel Setup
Serverless deployment on Vercel
Netlify Setup
Serverless deployment on Netlify