From f75563acd5570cd39ee462effda56aeb5f01cd51 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Fri, 2 May 2025 14:21:27 -0500 Subject: [PATCH] make translations dir --- build.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.ts b/build.ts index 3d34169..d781256 100644 --- a/build.ts +++ b/build.ts @@ -51,6 +51,9 @@ async function build() { console.timeEnd("Moving and compiling files"); console.time("Moving translations"); + try { + await fs.mkdir(path.join(__dirname, "dist", "webpage", "translations")); + } catch {} let langs = await fs.readdir(path.join(__dirname, "translations")); langs = langs.filter((e) => e !== "qqq.json"); const langobj = {};