1. Remix Vite configuration
forkrail packages Remix 2 Vite builds directly without modifying your app code. Add vercelPreset() from @vercel/remix if you split routes by maxDuration or memory:
import { vitePlugin as remix } from '@remix-run/dev'import { vercelPreset } from '@vercel/remix/vite'import { defineConfig } from 'vite'export default defineConfig({ plugins: [ remix({ presets: [vercelPreset()], }), ],})2. Deploy to preview or production
forkrail project my-remix-app --memory 1024forkrail deployforkrail deploy --prodVite required & Node runtime
Classic Remix projects using remix.config.js without Vite, and routes specifying runtime: 'edge', are refused at build time. Migrate to the Remix Vite plugin and run routes on Node 24.
Related documentation
Ready to deploy your Remix project inside your own AWS account?
Quickstart