New case cs-dust2 (kind:react): a from-scratch React + three.js 5v5 Dust2 FPS. Two takes registered: Claude Fable 5 / Claude Code / High (with a hand fix for a 64Hz fixed-step firing bug on high-refresh displays) and Claude Opus 4.8 / Claude Code / Max (dust2-arena, one-shot). React cases commit source only; the single file is built from source at deploy time. validate-data.ts now accepts a React project directory as the declared artifact. AGENTS.md rewritten English-only with React-case, bare-harness (no skills/plugins) and artifact-anonymity rules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
366 B
TypeScript
11 lines
366 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import { viteSingleFile } from 'vite-plugin-singlefile';
|
|
|
|
// `bun run build:single` — inlines all JS/CSS into one self-contained HTML
|
|
// (dist/index.html), which is what ships as dust2-arena.html.
|
|
export default defineConfig({
|
|
base: './',
|
|
plugins: [react(), viteSingleFile()],
|
|
});
|