What is tree shaking and how does it work?
The context here is JavaScript, not apples or olives.
This is yet another great explainer from Ire. Tree shaking is one of those things that I thought I understood, but always had the nagging doubt that I was missing something. This article really helped clear things up for me.