It helps somewhat, but I feel that the &quot;only is a problem&quot; assertion is too strong.<p>Tree shaking doesn&#x27;t help you when you are pulling in every HTTP client in existence transitively. It is still code that is being run, so can&#x27;t be automatically optimized away, but it is unnecessary.