Files
ThothII/frontend/vite.context-shelf.config.ts
T

8 lines
405 B
TypeScript

import path from "node:path";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig(({ command }) => {
if (command !== "serve") throw new Error("Context-shelf prototype is development-only.");
return { root: path.resolve(__dirname, "prototypes/context-shelf"), plugins: [react()], server: { host: "127.0.0.1", port: 5177, strictPort: true } };
});