mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 10:42:23 +00:00
fix I18n bundling bug
This commit is contained in:
1 parent
f8482d4671
commit
afcd8da310
2 files changed
+2
-2
No files matched your search
@@ -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