import { defineConfig } from "vite"; // Node build of the command-line renderer (WGSL imports are inlined by Vite). export default defineConfig({ build: { ssr: "src/cli/main.ts", outDir: "dist-cli", target: "node20", rollupOptions: { output: { entryFileNames: "steelsim.js" } }, }, ssr: { target: "node", noExternal: [] }, });