This patch features size improvements to Sparkle.
Sparkle used to bundle everything in the backend, such as React, PostHog, and even Tailwind with all of their dependencies. All of this led to Sparkle being over 400 MB, with modules duplicated in both the frontend and backend. The ASAR was over 150 MB on its own, and after removing frontend dependencies from the backend, it’s now sitting at just 12 MB that’s a huge difference.
Another thing: for some reason, Electron ships with all locales by default. That folder alone was 43 MB, so cutting it down to just en-US reduced it to only 518 KB.
We also used to include Sentry in both the frontend and backend, but Sentry and its dependencies (like OTEL) were almost 50 MB. We decided to remove Sentry since we don’t really need it. users can report issues directly on GitHub.

