Initial curated EventLens source from 0d80d3b38dfb817285481665b9e71e4b8a0656a0
This commit is contained in:
commit
663ea8c829
85 files changed
+12395
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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({
|
||||
define: {
|
||||
"import.meta.env.VITE_EVENTLENS_VERSION": JSON.stringify(version),
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user