The answers that I get only cover .js files but I need to minify something like this:
<script>
window.addEventListener('load', function (e)
{
...
});
</script>
To this:
<script>window.addEventListener('load',function(e){...});</script>
Actually I use "htmlmin" to minify the HTML code before I write the files with it but the inline javascripts remain with the original format.
Any help what to do here? Maybe a new package to replace "htmlmin". Thanks in advance.