Remarkable blog post demonstrating POC||GTFO 0x08's compiler bug exploitation, but applied to JS minification:
miniblog.
Related Posts
Every software project seems to have a set of features you build only so it's better suited for its environment.
For example, a perfectly functional website still benefits from a favicon, robots.txt, open graph tags and minification.
Fun post on CSS minification tricks: https://luisant.ca/css-opts-survey2 (shows the huge set of possibilities and the accuracy/aggressiveness tradeoff)