wasp/waspc/e2e-test/test-outputs/waspCompile-golden/waspCompile/.wasp/out/web-app/vite.config.ts
2023-03-30 12:22:40 -04:00

22 lines
423 B
TypeScript
Generated

/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: '0.0.0.0',
open: true,
},
envPrefix: 'REACT_APP_',
build: {
outDir: 'build',
},
test: {
environment: 'jsdom',
setupFiles: ['./src/test/vitest/setup.ts'],
},
})