Tagged articles
8 articles
Page 1 of 1
Goodme Frontend Team
Goodme Frontend Team
Apr 21, 2025 · Frontend Development

Fit @galacean/effects into a 2 MB WeChat Mini‑Program with Async Package Splitting

To overcome the 2 MB main‑package limit of WeChat mini‑programs, this guide details a step‑by‑step solution that uses @galacean/effects for stunning homepage animations, applies page and module splitting, Babel and webpack plugins, and Taro configuration to move large code into asynchronous sub‑packages.

ReactTaroWeChat Mini Program
0 likes · 17 min read
Fit @galacean/effects into a 2 MB WeChat Mini‑Program with Async Package Splitting
DeWu Technology
DeWu Technology
Jun 14, 2024 · Frontend Development

WeChat Mini Program Development Guide: Architecture, Packaging, Tools, and CI/CD

The guide explains how to build WeChat Mini Programs using a hybrid WebView‑JavaScript sandbox architecture, stay within 20 MB (2 MB per package) limits, organize code with main and sub‑packages, choose uni‑app or Taro, optimize assets, configure app.json, employ dev tools, automate builds and uploads with miniprogram‑ci, and monitor performance via WeAnalysis.

WeChat Mini Programci/cdcross‑platform frameworks
0 likes · 16 min read
WeChat Mini Program Development Guide: Architecture, Packaging, Tools, and CI/CD
Baidu App Technology
Baidu App Technology
Jul 10, 2023 · Mobile Development

Baidu App iOS Package Size Optimization: Code Optimization Techniques

The article explains how Baidu App reduces its iOS package size by analyzing Link Map files and applying six code‑optimization techniques—unused class and module slimming, unused method pruning with LLVM, duplicate‑code detection, utility‑method consolidation, and A/B‑test hardening—yielding up to 8 MB of savings.

AB testingLink MapMach-O
0 likes · 15 min read
Baidu App iOS Package Size Optimization: Code Optimization Techniques
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 13, 2022 · Mobile Development

How Youku Cut Android APK Size Over Five Years: Strategies, Tools, and Governance

This article reviews Youku's five‑year journey of Android APK size reduction, detailing the shift from special‑project squeezes to sustainable normal governance, the technical measures and analysis tools like Franky, and practical slimming techniques that can help any mobile team manage package size efficiently.

APK sizeAndroidpackage optimization
0 likes · 43 min read
How Youku Cut Android APK Size Over Five Years: Strategies, Tools, and Governance
Didi Tech
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
Package Size Control Practices in Didi Ride‑Hailing Mini Program
Tencent Cloud Developer
Tencent Cloud Developer
Jan 12, 2017 · Mobile Development

Using WeCOS to Reduce WeChat Mini Program Package Size

WeCOS is a command‑line tool that uploads a Mini Program’s local image assets to Tencent Cloud Object Storage, replaces the code’s image paths with COS URLs, removes the original files, and thus shrinks the package below the 1 MB upload limit, simplifying the otherwise manual process.

Node.jsTencent Cloud COSWeCOS
0 likes · 7 min read
Using WeCOS to Reduce WeChat Mini Program Package Size