mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-29 09:58:45 +00:00
fix I18n bundling bug
This commit is contained in:
@@ -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
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user