Feature request: Convert long repeated strings to .repeat() when minifying
#1015
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Whenever I minify long strings using this minifier, The strings are left untouched. It would be nice if the long strings (Example
'░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░') could be changed to'░'.repeat(35), which saves 21 charactersDescribe the solution you'd like
Replace long enough strings with
.repeat()when minifyingDescribe alternatives you've considered
We could do this in the source code itself, but that defeats the purpose of a minifer
Additional context
NA
The text was updated successfully, but these errors were encountered: