Skip to content

Commit f75563a

Browse files
committed
make translations dir
1 parent dd3f07b commit f75563a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ async function build() {
5151
console.timeEnd("Moving and compiling files");
5252

5353
console.time("Moving translations");
54+
try {
55+
await fs.mkdir(path.join(__dirname, "dist", "webpage", "translations"));
56+
} catch {}
5457
let langs = await fs.readdir(path.join(__dirname, "translations"));
5558
langs = langs.filter((e) => e !== "qqq.json");
5659
const langobj = {};

0 commit comments

Comments
 (0)