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
16 lines
430 B
TypeScript
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),
|
|
},
|
|
});
|