darklua
A command line tool that rewrites Lua and Luau files using configurable rules.
Think of it as A find-and-replace that understands code, run on a whole folder.
darklua process <input> <output> reads each Luau file, passes it through the rules in a config file (.darklua.json), and writes the result. Rules remove comments, rename variables, convert how modules are required and more, and the order of the rules can matter. It also has a bundler. It is MIT licensed and written in Rust.
Official reference: darklua.com