We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 015326e commit ec8eec1Copy full SHA for ec8eec1
2 files changed
build.ts
@@ -2,7 +2,6 @@ import {promises as fs} from "fs";
2
import * as swc from "@swc/core";
3
import {fileURLToPath} from "node:url";
4
import path from "node:path";
5
-import child_process from "child_process";
6
7
const __filename = fileURLToPath(import.meta.url);
8
const __dirname = path.dirname(__filename);
src/webpage/i18n.ts
@@ -1,5 +1,5 @@
1
//@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]);
0 commit comments