MinifyAll icon indicating copy to clipboard operation
MinifyAll copied to clipboard

Option to randomize identifier replacements

Open Z-E-D opened this issue 4 years ago β€’ 1 comments

πŸš€ Feature Request

Is your feature request related to a problem? Please describe.


Describe the solution you'd like

*I would like to have an option to get randomized identifier names every time when I use the minifier/mangler with the same input JS file. I.e. I want to get unique minified/mangled files from the same input JS file after each minification. Currently, every time when I minify the same input file, I always get the output file with the same content.

For example, if I have two variables, lets call them alpha and beta, after first minification they could be replaced with e.g. s and u, but after the second minification they should become e.g. w and x, or something entirely else.

Should I post this request to Terser?


Describe alternatives you've considered


Additional context

Z-E-D avatar Apr 10 '22 08:04 Z-E-D

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!

welcome[bot] avatar Apr 10 '22 08:04 welcome[bot]