1import react from "@vitejs/plugin-react";
2import { defineConfig } from "vite";
4export default defineConfig(({ command }) => ({
5 plugins: [react()],
6 // served at https://concept-collection.github.io/stan-remote-sampling/
7 base: command === "build" ? "/stan-remote-sampling/" : "/",
8 server: {
9 port: 3000,
10 },
11}));