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>
24 lines
596 B
TypeScript
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
|
|
}
|
|
});
|