Files
auth-portal/apps/web/vite.config.ts
T
DenozordecandCursor 0b6fa65b08
Build and Push Auth Portal Docker Image / build-and-push (push) Successful in 2m30s
Build and Push Auth Portal Docker Image / create-release (push) Skipped
feat(reui): update ReUI components and documentation
- Added new OIDC configuration options in `.env.example`.
- Expanded documentation in `AGENTS.md` to include OIDC endpoints and admin UI.
- Updated ReUI skill version and component count from 17 to 20 across various documentation files.
- Enhanced `README.md` and other related files to reflect the new component structure and usage guidelines.

Co-authored-by: Cursor <[email protected]>
2026-08-11 16:58:47 +07:00

36 lines
1.1 KiB
TypeScript

import path from 'path'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import { TanStackRouterVite } from '@tanstack/router-vite-plugin'
export default defineConfig({
plugins: [
TanStackRouterVite({ routesDirectory: './src/routes' }),
react(),
tailwindcss(),
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'@authportal/shared': path.resolve(__dirname, '../../packages/shared/src/index.ts'),
'@authportal/ui/components': path.resolve(__dirname, '../../packages/ui/src/components'),
'@authportal/ui/hooks': path.resolve(__dirname, '../../packages/ui/src/hooks'),
'@authportal/ui/lib': path.resolve(__dirname, '../../packages/ui/src/lib'),
},
},
server: {
port: 5175,
fs: {
allow: [path.resolve(__dirname, '../..')],
},
proxy: {
'/api': 'http://localhost:8080',
'/health': 'http://localhost:8080',
'/ready': 'http://localhost:8080',
'/.well-known': 'http://localhost:8080',
'/oauth': 'http://localhost:8080',
},
},
})