File size: 503 Bytes
60b6623
ce534b9
0ad5d66
ce534b9
 
21ef00c
09ecaf7
0ad5d66
 
 
82ff6c1
0ad5d66
 
 
 
 
60b6623
 
 
 
 
 
 
 
 
ce534b9
0ad5d66
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  base: '/app/',
  plugins: [react()],
  server: {
    proxy: {
      '/api': {
        target: 'http://localhost:8000',
        changeOrigin: true,
        secure: false,
      },
    },
  },
  test: {
    globals: true,
    environment: 'jsdom',
    setupFiles: ['./src/test/setup.ts'],
    css: true,
    deps: {
      inline: ['@ifrc-go/ui']
    }
  },
})