What are the current best options for compressing modern Javascript with .NET?
YUICompressor.NET and its Dependency EcmaScript.NET are both far behind the times in terms of modern ECMAScript version support. I can't find anything else thats being maintained either :(
I'm happy to contribute to projects to get them to where they need to be, but whats my best starting point?
I need to be able to compress JS from .NET itself. I don't mind PInvoking some dll, but "just use <insert node-js package name here>
" is not a solution.
Nuglify is the answer, it has full ES2020/2021 support at the time of writing.
Disclaimer, I maintain this project. But I maintain it because of my need in this original question :D