chore: switch to vite for server dev

This commit is contained in:
Aarnav Tale 2025-01-17 08:33:22 +00:00
parent 377641265b
commit c9603ba38a
No known key found for this signature in database
16 changed files with 444 additions and 265 deletions

7
server/dev-handler.ts Normal file
View file

@ -0,0 +1,7 @@
import { createRequestHandler } from 'react-router'
export default createRequestHandler(
// @ts-expect-error: React Router Vite plugin
() => import('virtual:react-router/server-build'),
'development'
);