From 874af6b0c612cafeff0ea292fa68c601bcf17e1c Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:14:57 +0800 Subject: [PATCH] Properly push af13f7ba0bf2ddc79d043ee17c51843542ca98f4 --- build.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.mjs b/build.mjs index 9766035..dd3bd9c 100644 --- a/build.mjs +++ b/build.mjs @@ -57,6 +57,7 @@ try { include: [ "transform-classes", "transform-arrow-functions", + "transform-block-scoping" ] }, }); @@ -88,7 +89,7 @@ try { if (req.url === "/vendetta.js" || req.url === "/pyoncord.js" || req.url === "/pyondetta.js") { await ctx.rebuild(); res.writeHead(200); - res.end(await readFile("./dist/pyoncord.js"), "utf-8"); + res.end(await readFile("./dist/pyondetta.js"), "utf-8"); } else { res.writeHead(404); res.end();