See how terser/uglify remove dead code across versions. E.g. what it can or can not remove.
https://github.com/Rich-Harris/terser-playground
https://xem.github.io/terser-online/
Unfortunately they are pretty primitive and don't meet all my requirements.
Basic UI that takes input code and output minified code using terserSupport options simple - take a JSON blob- Support options advanced - let people enable/disable options using checkboxes
Support multiple terser versionsSupport sharing- Clean old shared links
- Various UI improvements
code highlightprettify layoutdefault value in version selection dropdownshow spinner while initializing states from persistence
- Clean up TODOs in code
Accept relaxed JSON object as configurationPersistencedebounce user inputs