ZIM Distill Updates

We have updated ZIM Distill - thanks @Chris_S for the prompting. Firstly, we fixed some ES6 code that snuck into ZIM. We also added the ZIM Directives and ZIM Monitor. We made the Monitor optional with a checkbox as the code is throughout ZIM. We strip most out if the checkbox is left unchecked.

We added a No Minify checkbox that can be used if wanting to distill PermissionAsk(), SoundWave(), Rive(), RiveListener(), or Glitch() all which use ES6 code that cannot be easily replaced. So just check no minify and minify the code yourself with https://minify-js.com for example.

image

1 Like

From a learning perspective, this update has been truly helpful—thank you for taking the time to explain these changes so clearly. As a student still struggling to familiarize myself with JavaScript and build workflows, I'm delighted to see how much effort ZIM has put into keeping it simple and easy to use.

Fixing the ES6 code mixed in with ZIM is crucial for understanding the underlying principles, especially when learning from examples. I also greatly appreciate that ZIM Monitor is now an optional feature. Being able to turn it on or off at any time allows me to focus on the core logic without adding extra complexity when it's not needed. Meanwhile, the "no minification" option is particularly useful for learning. Understanding why functions like PermissionAsk() or SoundWave() cannot be easily replaced, and being able to handle code minification separately, makes the whole process less mysterious and like a "black box."

Overall, this update makes Distill more beginner-friendly while still supporting more advanced use cases. Thank you so much for the effort behind it!