tercul-frontend/vite.config.ts
google-labs-jules[bot] 48c4c91d05
Implement advanced search filters UI and backend support (#14)
- Add Author, Language, Work Type, Date Range filters
- Implement Save Search Preferences
- Add backend routes for search and filtering with client-side pagination support

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-12-01 11:39:24 +01: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'
}
})