From 8468ec31ecbb18cfc0e19be1463f830d208f1724 Mon Sep 17 00:00:00 2001 From: WahPlus Date: Thu, 30 Apr 2026 16:13:08 +0300 Subject: [PATCH] Ponali the legend comes in clutch once again --- .github/workflows/minify.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/minify.js diff --git a/.github/workflows/minify.js b/.github/workflows/minify.js new file mode 100644 index 0000000..6f5bece --- /dev/null +++ b/.github/workflows/minify.js @@ -0,0 +1,14 @@ +const fs = require("fs") +const luamin = require('lua-format') + +const Code = fs.readFileSync(process.argv[2],"utf-8") +const Settings = { + RenameVariables: true, + RenameGlobals: false, + SolveMath: true, + Indentation: '\t' +} + +const Beautified = luamin.Beautify(Code, Settings) +const Minified = luamin.Minify(Code, Settings) +fs.writeFileSync(process.argv[2],"utf-8")