The topic might seem really simple, but I still struggle to find any solution that will satisfy me and it's been a long time I didn't see anyone talking about it here.
None of the PHP JS minifers I found support ES6. I wanted local variable to change their name to a single character, so the file is just smaller.
I have been using:
- MatthiasMullie/Minify - this one didn't take care of variables at all
- Patchwork/JSqueeze - worked only for ES5, "lets" and "consts" variables were untouched.
the others are no longer supported
So my question is, what is the right way to go to minify a JS file with PHP? A single package would be sufficient
question from:
https://stackoverflow.com/questions/65890926/php-package-to-minify-js-including-variables 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…