files-tcg/app/vite.config.ts
2026-10-01 17:20:33 -04:00

9 lines
345 B
TypeScript

import { defineConfig } from 'vite';
// The app imports the engine straight from ../sim/src and the cards from ../decks and ../assets,
// so the dev server may read the whole files-tcg folder.
export default defineConfig({
base: './',
server: { fs: { allow: ['..'] } },
oxc: { jsx: { runtime: 'automatic', importSource: 'preact' } },
});