fix I18n bundling bug

This commit is contained in:
MathMan05
2025-10-01 18:14:51 -05:00
parent f8482d4671
commit afcd8da310
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ async function moveFiles(curPath: string, newPath: string, first = true) {
},
},
},
externalModules: ["./translations/langs.js"],
externalModules: ["/translations/langs.js"],
options: {
minify: !process.argv.includes("watch"),
jsc: {
+1 -1
View File
@@ -1,5 +1,5 @@
//@ts-ignore
import {langs} from "./translations/langs.js";
import {langs} from "/translations/langs.js";
const langmap = new Map<string, string>();
for (const lang of Object.keys(langs) as string[]) {
langmap.set(lang, langs[lang]);