Files
dominoes/vite.config.ts
jcoffey-dev 514505903f Dominoes: All Fives, one against three, first to 250
Four at the table with a double-six set: five tiles each and a boneyard,
the first double a spinner that opens four ways, and every multiple of
five on the ends scored as it falls. Three computer players who count
what the table can see and never a hand, and talk the whole time.

Served at games.jcoffey.dev/dominoes/, built from this repository.
2026-09-22 23:48:58 -07:00

16 lines
665 B
TypeScript

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// Vitest is left on its defaults on purpose: it already picks up *.test.ts and
// nothing else, and importing `vitest/config` here drags in a second copy of
// vite whose plugin types disagree with this one's.
//
// There is no dev proxy here, unlike the arcade games on the site. They post
// scores to a shared service; this one has nothing to post.
export default defineConfig({
// Asset URLs are baked in at build time, so this has to match the path the
// game is served from. Local development stays at the root.
base: process.env.BASE_PATH ?? '/',
plugins: [react()],
})