17 lines
408 B
JavaScript
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',
|
|
},
|
|
},
|
|
}); |