Files
Termix/vite.config.js
2024-12-04 21:04:46 -06: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',
},
},
});