Files
EventLens-Public/frontend/vite.config.ts
T
Public Source Publisher 4e282639a4 EventLens: publish v1.1.0 application and standalone Compose
Includes campaign summaries, expanded Windows event correlation, worker-based redaction, updated demo assets and a local-only Compose example.

Publish curated EventLens source from 6a2ca12f81a2dcf816c61a86bd8811fcc95e8d8d
2026-11-20 13:15:35 +01:00

16 lines
430 B
TypeScript

import { defineConfig } from "vite";
import { readFileSync } from "node:fs";
import { resolve } from "node:path";
import { fileURLToPath } from "node:url";
const version = readFileSync(resolve(fileURLToPath(new URL(".", import.meta.url)), "../VERSION"), "utf-8").trim();
export default defineConfig({
worker: {
format: "es",
},
define: {
"import.meta.env.VITE_EVENTLENS_VERSION": JSON.stringify(version),
},
});