Closed nothingnesses closed 3 years ago
Issue-Label Bot is automatically applying the label enhancement
to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
The minifier renames the variables and function names to save space and make the code faster.
I am able to add this option but it should wait a little bit because I'm a bit busy with my university degree. But I can definitely do it.
Thanks for contributing
Hi again, could you provide a sample code text for me to try this out.
Ah hey. Not sure exactly what you're looking for, but assuming it's JS code that uses variables with long names, maybe this could fit the bill?
The upcoming minfiyall version should fully fix this issue. There is a new setting called "terserMinifyOptions", which will let you specify any terser option you need. Including keeping fnames or variable names. All the options available are listed here: https://github.com/terser/terser#minify-options
The version 2.5.0 is now available. Check it out and modify the settings. If something is wrong please tell me.
Thanks for contributing!
π Feature Request
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context