the-forest/client/vite.config.mts

21 lines
558 B
TypeScript
Raw Normal View History

2024-09-24 16:14:49 -04:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import viteTsconfigPaths from 'vite-tsconfig-paths'
2024-09-24 16:14:49 -04:00
export default defineConfig({
// depending on your application, base can also be "/"
base: '/',
plugins: [react(), viteTsconfigPaths()],
server: {
// this ensures that the browser opens upon server start
open: true,
// this sets a default port to 3000
port: 3000,
},
test: {
globals: true,
environment: 'jsdom',
// other options...
}
2024-09-24 16:14:49 -04:00
})