import { defineConfig } from 'vitest/config' // The client is served from `/` by the nginx vhost (DESIGN 11.1, #66), so assets are absolute // (`/assets/...`) and content-hashed. Tests are pure modules (no DOM): the reducer seam has no // Pixi import, so Vitest needs no browser environment. export default defineConfig({ base: '/', build: { target: 'es2022' }, test: { include: ['test/**/*.test.ts'], environment: 'node', }, })