Files
Termix/vite.config.js
Luke Gustafson 88e4074427 Commit
2024-11-26 15:43:00 +00:00

17 lines
408 B
JavaScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
},
build: {
outDir: "dist", // Output directory for the build
rollupOptions: {
// Use a relative path from the project root (adjusted to reflect Docker WORKDIR)
input: 'index.html',
},
},
});