mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-26 21:51:34 +00:00
- 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>
23 lines
514 B
TypeScript
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'
|
|
}
|
|
})
|