Poindexter/examples/wasm-browser-ts/vite.config.ts

18 lines
368 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vite';
// Minimal Vite config for the WASM TS example.
// Serves files from project root; our dev script copies required artifacts to public/.
export default defineConfig({
root: '.',
server: {
host: '127.0.0.1',
port: 5173,
open: false,
},
preview: {
host: '127.0.0.1',
port: 5173,
open: false,
},
});