Files
gartenmanager/frontend/vite.config.js
Faultier314 4305d104e5
Some checks failed
Tests / Backend Tests (push) Failing after 5m42s
Tests / Frontend Tests (push) Failing after 1m11s
feat: add CI/CD pipelines, test suite, and ci/staging branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 10:13:12 +02:00

27 lines
557 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
test: {
environment: 'jsdom',
globals: true,
include: ['src/**/*.test.{js,ts}'],
},
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
port: 5173,
proxy: {
'/api': {
target: import.meta.env?.VITE_API_BASE_URL || 'http://localhost:8000',
changeOrigin: true,
},
},
},
})