9 lines
345 B
TypeScript
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' } },
|
|
});
|