Files
FamilyPlanner/frontend/vite.config.ts
philippe fdd72c1135 Initial commit: Family Planner application
Complete family planning application with:
- React frontend with TypeScript
- Node.js/Express backend with TypeScript
- Python ingestion service for document processing
- Planning ingestion service with LLM integration
- Shared UI components and type definitions
- OAuth integration for calendar synchronization
- Comprehensive documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 10:43:33 +02:00

24 lines
596 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
export default defineConfig({
// Use relative paths in the production build so opening dist/index.html
// directly from the filesystem works (no blank page due to absolute /assets).
base: "./",
plugins: [react()],
resolve: {
alias: {
"@family-planner/types": resolve(__dirname, "../shared/types/src"),
"@family-planner/ui": resolve(__dirname, "../shared/ui/src")
}
},
server: {
port: 5173,
open: true
},
preview: {
port: 4173
}
});