mirror of
https://github.com/andwati/copilot-dev-days.git
synced 2026-10-26 22:02:15 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
// Auto-detect base path from environment (GitHub Actions sets VITE_REPO_NAME)
|
||||
base: process.env.VITE_REPO_NAME ? `/${process.env.VITE_REPO_NAME}/game/` : '/',
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
setupFiles: ['./src/test/setup.ts'],
|
||||
watch: false,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user