diff --git a/frontend/vite-plugin-generate-locales.js.js b/frontend/vite-plugin-generate-locales.js similarity index 93% rename from frontend/vite-plugin-generate-locales.js.js rename to frontend/vite-plugin-generate-locales.js index 7b8d3b7..27e4141 100644 --- a/frontend/vite-plugin-generate-locales.js.js +++ b/frontend/vite-plugin-generate-locales.js @@ -1,5 +1,8 @@ import fs from "fs"; import path from "path"; +import * as url from "url"; + +const __dirname = url.fileURLToPath(new URL(".", import.meta.url)); export default function GenerateLocalesPlugin() { return {