Tagged articles
Bundle Optimization
17 articles · Page 1 of 1
The article explores four upcoming JavaScript features for 2026—native Signals, the pipeline operator, WebNN API, and Temporal API—and explains how they eliminate the need for third-party libraries, reduce bundle size, and shift frontend development toward native browser capabilities.
Bundle OptimizationECMAScript 2026Frontend Development
0 likes · 6 min read

This article details how a modern frontend logging system was dramatically improved by implementing intelligent database cleanup, asynchronous module loading, dynamic JSZip imports, log queue throttling, and Rollup build‑time fixes, resulting in a much smaller bundle and smoother user experience.
Bundle OptimizationLoggingRollup
0 likes · 13 min read

This article explains what Tree Shaking is, how it leverages the static nature of ES6 modules to eliminate dead code during bundling, and provides practical tips for developers to maximize bundle size reduction and improve web performance.
Bundle OptimizationES6 ModulesJavaScript
0 likes · 9 min read

This article explains how importing entire libraries like lodash and Framer Motion can dramatically increase bundle size, demonstrates precise import techniques, introduces a wrapper pattern for better maintainability, and offers practical tips for choosing tree‑shakable libraries and tracking import sizes.
Bundle OptimizationJavaScriptWrapper Pattern
0 likes · 6 min read

The article demonstrates how detailed Mach‑O and LinkMap analysis combined with custom CocoaPods hooks, Swift‑syntax refactoring, and indexed symbol mapping can systematically shrink an iOS app’s bundle—from 289.3 MB to 259.3 MB—while cutting CI build time and simplifying debugging.
Bundle OptimizationCocoaPodsLinkMap
0 likes · 19 min read


ByteFEApr 23, 2024 · Game Development
This article provides a comprehensive guide to SAR Creator, a TypeScript‑based interactive solution used for building 2D/3D game scenes, covering workflow, asset creation, canvas adaptation, bundle splitting, texture compression, script lifecycle, dynamic loading, and configuration for ByteDance's Spring Festival activities.
Bundle OptimizationPrefabSAR Creator
0 likes · 22 min read

Mpx 2.9 adds built‑in atomic‑class (utility‑first) CSS, server‑side rendering for web output, and a suite of bundle‑size optimizations—including deterministic IDs, template compression, empty‑module removal, and render‑function pruning—while splitting atomic CSS into sub‑packages for mini‑programs and outlining a roadmap for further compile‑time reductions, Vite support, and cross‑platform extensions.
Bundle OptimizationMini ProgramsMpx
0 likes · 24 min read

The guide shows how to shrink a Baidu iOS app by converting PNGs to HEIC within Asset Catalogs—leveraging Xcode’s actool for compression, avoiding pngquant‑induced alpha issues, and employing combined static LinkMap/Mach‑O parsing and runtime isa‑flag checks to prune never‑instantiated classes.
Bundle OptimizationHEICUnused Class Detection
0 likes · 25 min read

This article explains how to customize Metro bundler to support dynamic imports in React Native, detailing a split‑and‑combine build process that isolates async modules, deduplicates code, and loads bundles on demand, thereby shrinking app size and avoiding the drawbacks of multi‑business package architectures.
Bundle OptimizationCode SplittingJavaScript
0 likes · 14 min read

This article explains why a large project’s Webpack bundle became painfully slow, walks through detailed bundle analysis, shows before‑and‑after configuration changes—including setting maxAsyncRequests—and explores the inner workings of SplitChunksPlugin, its default settings, attributes, execution flow, and chunk‑splitting strategy, providing code examples and diagrams for better understanding.
Bundle OptimizationCode Splittingsplitchunks
0 likes · 29 min read

This article compares the tree‑shaking mechanisms of Rollup and Webpack, explains the three stages Webpack uses (UglifyJS, BabelMinify, Terser), details side‑effects handling, configuration tips, and performance benchmarks, providing practical guidance for optimizing bundle size in modern JavaScript projects.
Bundle OptimizationJavaScriptRollup
0 likes · 18 min read

This article explains how to analyze and reduce React Native bundle size using tools like react-native-bundle-visualizer and the custom CRN bundle analysis platform, covering library replacements, import optimizations, code splitting, static asset handling, and reporting a typical 50% size reduction.
BabelBundle OptimizationCode Splitting
0 likes · 19 min read

Jennifer Bland explains how to halve a Vue.js production bundle from 2.48 MB to 1.28 MB by using webpack-bundle-analyzer and applying targeted optimizations such as removing unused libraries, importing only needed lodash functions, aliasing moment, and configuring vuetify-loader to include only required components.
Bundle OptimizationMoment.jsVue.js
0 likes · 9 min read

This article explains how to identify oversized JavaScript bundles with webpack‑bundle‑analyzer, split protobuf‑generated code into business‑specific modules, and apply Babel’s parser, traverse, types, and generator tools to automatically remove redundant commons code and restructure module patterns, dramatically reducing bundle size and improving frontend performance.
BabelBundle OptimizationProtobuf
0 likes · 9 min read

The article explains how Webpack's SplitChunksPlugin enables effective code splitting for shared libraries and components, reducing initial bundle size, improving caching, and speeding up page loads, with practical configuration examples and usage tips from Snowball's front‑end architecture.
Bundle OptimizationCode SplittingSplitChunksPlugin
0 likes · 7 min read

This article walks through analyzing Webpack bundle output, identifying oversized or duplicated modules, applying code‑splitting with async imports, and adjusting CommonsChunkPlugin settings to produce leaner, more cache‑friendly builds for traditional non‑SPA pages.
Bundle Optimizationcommonschunkpluginfrontend performance
0 likes · 7 min read

This article explores how to optimize Babel usage to reduce bundle size and improve performance by addressing helper duplication, third-party module handling, and import optimization through transform-runtime, include patterns, and import transformation plugins.
BabelBundle OptimizationES6
0 likes · 9 min read
