Tag

Async Loading

0 views collected around this technical thread.

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.

Async LoadingBabelPackage Optimization
0 likes · 17 min read
Fit @galacean/effects into a 2 MB WeChat Mini‑Program with Async Package Splitting
Sohu Tech Products
Sohu Tech Products
Dec 2, 2020 · Frontend Development

Understanding Webpack Asynchronous Loading and Code Splitting Strategies

This article explains how Webpack's asynchronous loading mechanisms such as require.ensure and dynamic import() work, demonstrates practical examples for splitting bundles, discusses route lazy‑loading in Vue, and provides optimization techniques including splitChunks, CDN externals, and bundle analysis to improve frontend performance.

Async LoadingCode SplittingImport
0 likes · 13 min read
Understanding Webpack Asynchronous Loading and Code Splitting Strategies
Didi Tech
Didi Tech
Jul 5, 2019 · Frontend Development

Deep Dive into Webpack: Source Code Analysis and Compilation Process

The article dissects Webpack’s internals, showing how every asset becomes a module processed by loaders, how the bootstrap creates a __webpack_require__ function to link modules, how dynamic import() generates separate chunks loaded via script tags, and outlines the full compilation pipeline from configuration parsing to final asset emission.

Async LoadingFrontend DevelopmentJavaScript
0 likes · 12 min read
Deep Dive into Webpack: Source Code Analysis and Compilation Process