We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
the workaround is { ['name'] = value, ... } but it increases the size a bit
{ ['name'] = value, ... }
Sorry, something went wrong.
This is in the works, as part of a large-scale set of changes being made to the minification process.
There is currently no simple way to implement this - so please bear with the long wait
Workaround for an issue (increased size) caused by this workaround: Probably breaks at least some programs
function onLBBuildFileComplete(_, name, _, minimizedText, _, _) local file = assert(io.open( "./out/release/"..name:lower(), 'wb' )) local mini2 = minimizedText:gsub("%['[a-z,_]'%]=", function(match) return ({match:gsub("%['", ""):gsub("'%]", "")})[1] end) file:write(mini2) file:close() print('total size: '..#mini2 ..' vs '..#minimizedText ..' chars; reduction: -'..(#minimizedText - #mini2)..' chars') end
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: