1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-21 04:43:16 +00:00

version 0.2.0

This commit is contained in:
2025-11-15 22:26:25 +01:00
parent 39d6767ac5
commit de28a305df
29 changed files with 6201 additions and 540 deletions
+12
View File
@@ -1,9 +1,21 @@
import { readFileSync } from "fs";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const pkg = JSON.parse(
readFileSync(new URL("./package.json", import.meta.url), "utf-8"),
);
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
},
define: {
__APP_VERSION__: JSON.stringify(pkg.version),
},
test: {
environment: "jsdom",
setupFiles: "./src/setupTests.js",
},
});