19 lines
375 B
TypeScript
19 lines
375 B
TypeScript
/// <reference types="vitest/config" />
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:3001',
|
|
},
|
|
},
|
|
test: {
|
|
include: ['src/**/*.test.ts'],
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/test/setup.ts'],
|
|
css: true,
|
|
},
|
|
})
|