esm safe path

This commit is contained in:
Alex Holliday committed 2025-09-26 14:32:16 -07:00
1 parent 277aff3898
commit 3f581ae1b0
1 file changed
+3
+3
View File
@@ -2,6 +2,9 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
import path from "path";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export default defineConfig(({}) => {
let version = "3.2.0";