Ponali the legend comes in clutch once again
This commit is contained in:
@@ -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")
|
||||||
Reference in New Issue
Block a user