Didi Tech
Mar 19, 2021 · Frontend Development
Package Size Control Practices in Didi Ride‑Hailing Mini Program
After moving its WeChat/Alipay entry to a Didi Ride‑Hailing mini‑program, the team kept the main bundle under the 2 MB limit by applying MPX‑based webpack tree‑shaking, minification, CDN‑compressed assets, aggressive sub‑package splitting and a lightweight cover page, reducing the core to about 1.1 MB while shifting most business logic into 800 KB–1.2 MB sub‑packages.
Didi Ride-HailingMPX FrameworkMini Program
0 likes · 14 min read