tercul-frontend/vite.config.ts
google-labs-jules[bot] a50e42094a Implement advanced search filters UI and backend support
- Add Author, Language, Work Type, Date Range filters
- Implement Save Search Preferences
- Add backend routes for search and filtering with client-side pagination support
2025-12-01 09:22:40 +00:00

23 lines
514 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
root: 'client',
resolve: {
alias: {
'@': path.resolve(__dirname, './client/src'),
'@shared': path.resolve(__dirname, './shared')
}
},
build: {
outDir: '../dist'
}
})