import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "node:path";

// Multi-page setup so the marketing site and beta signup stay as separate
// static entry points — same as a typical landing/marketing app build.
export default defineConfig({
  plugins: [react()],
  build: {
    rollupOptions: {
      input: {
        main: resolve(__dirname, "index.html"),
        beta: resolve(__dirname, "beta.html"),
      },
    },
  },
});
