Docker Image and first iteration

This commit is contained in:
boris committed 2026-06-02 12:27:54 +02:00
1 parent 723b64b1c4
commit bd9209ebb7
40 files changed
+26643

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
export default defineConfig(({ mode }) => ({
define: {
"process.env.NODE_ENV": JSON.stringify(mode === "test" ? "test" : "production"),
},
plugins: [react()],
build: {
outDir: "../showcase/static/showcase/dist",
emptyOutDir: true,
lib: {
entry: "src/main.tsx",
formats: ["es"],
fileName: () => "map.js",
},
rollupOptions: {
output: {
assetFileNames: "map.[ext]",
},
},
},
test: {
environment: "jsdom",
globals: true,
},
}));