Build, Test, and Push CFDM Docker Image / test (push) Failing after 51s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Has been skipped
Build, Test, and Push CFDM Docker Image / update-wiki (push) Has been skipped
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
30 lines
749 B
TypeScript
30 lines
749 B
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'),
|
|
'@cfdm/shared': path.resolve(__dirname, '../../packages/shared/src/index.ts'),
|
|
},
|
|
},
|
|
server: {
|
|
fs: {
|
|
allow: [path.resolve(__dirname, '../..')],
|
|
},
|
|
proxy: {
|
|
'/api': 'http://localhost:8080',
|
|
'/health': 'http://localhost:8080',
|
|
'/ready': 'http://localhost:8080',
|
|
},
|
|
},
|
|
})
|