mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-23 00:51:36 +03:00
22 lines
423 B
TypeScript
Generated
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'],
|
|
},
|
|
})
|