Closed sankarkumar23 closed 4 years ago
TL;DR
The JS minimization is done by an external package called terser which is out of my hands and it is not developed by me.
Hi, JavaScript minimization is done witj a 3rd party package, which it is not developed by me. The rest of the languages are fully made by me but not the JS one.
The terser's JS minimization is an extra feature for the extension MinifyAll, but not a part of the MinifyAll core.
This issue should be posted in the terser's issue page.
Thanks for contributing
Thanks for the information.
Anyways, I will update the terser package to obtain the latest features.
After contacting terser this feature has been incorporated with v5.2.0. https://github.com/Josee9988/MinifyAll/blob/8a350fb1c45b981e1f41cf8bc3b0fb71dc3e2927/package.json#L263 Can I update to latest terser version in my local machine.. until you update your package. If yes, please explain how?
I will try to publish a new version tomorrow.
If you need it now, go to the VSCode extension folder, search the MinifyAll folder, then open a terminal and write:
npm update terser
Awesome.. If it can happen very soon.. I'll wait. Thank a lot for all your support.
I'll comment again when the terser package is updatedm
Update the MinifyAll extension to its latest version (2.4.7).
Terser was updated to 5.3.2.
Update the MinifyAll extension to its latest version (2.4.7).
Terser was updated to 5.3.2.
Not sure If I am missing something.. after upgrade minify is completely failing.. it is generating a min file with no content.. just showing undefined.
Please post a new issue with detailed information/media prove about this new issue.
Looks like javascript's Optional Chaining Operator "?." has not been incorporated. Giving out error if code contains "?." Appreciate if this can be fixed ASAP.