unreal-chat/apps/web/vite.config.ts
Jusemon 19bb0b5bdf refactor: migrate API from Apollo Server to Mercurius and enhance GraphQL implementation
- Replaced Apollo Server with Mercurius for GraphQL API
- Updated resolvers to use Mercurius-compatible GraphQL implementation
- Migrated from Express to Fastify for server framework
- Improved error handling with GraphQL error extensions
- Added Zod for environment variable validation
- Updated Prisma schema and migrations
- Configured CORS and WebSocket subscriptions
- Simplified GraphQL schema and resolver structure
- Enhanced type safety and code organization
2025-03-06 03:04:40 -05:00

7 lines
153 B
TypeScript

import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
export default defineConfig({
envDir: '../../',
plugins: [solid()],
});