- 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]>
36 lines
1.1 KiB
TypeScript
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',
|
|
},
|
|
},
|
|
})
|