Tagged articles
281 articles
Page 2 of 3
Sensors Frontend
Sensors Frontend
Feb 22, 2022 · Frontend Development

Why Vite Beats Webpack: Deep Dive into Architecture and HMR

This article examines the limitations of bundle‑based tools like Webpack, introduces Vite’s ESM‑based approach, and provides a detailed analysis of Vite’s architecture, hot‑module‑replacement, module transformation, dependency graph, and plugin system, illustrating how it improves development speed and efficiency.

ESMHot Module ReplacementVite
0 likes · 13 min read
Why Vite Beats Webpack: Deep Dive into Architecture and HMR
BaiPing Technology
BaiPing Technology
Jan 31, 2022 · Frontend Development

On-Demand JS Imports: async import(), Babel plugin, Tree Shaking, Conditional Compilation

This article explains various on-demand import techniques for modern JavaScript projects, covering the native async import() syntax, the Babel plugin-import for selective library loading, Tree Shaking to eliminate dead code, and conditional compilation using tools like uglify-js-plugin and js-conditional-compile-loader.

conditional compilationdynamic importfrontend
0 likes · 11 min read
On-Demand JS Imports: async import(), Babel plugin, Tree Shaking, Conditional Compilation
Shopee Tech Team
Shopee Tech Team
Jan 20, 2022 · Game Development

Shopee Games: Engine Selection, Optimization, and Engineering Practices for H5 Game Development

Shopee Games chose the Egret engine for its lightweight 2D performance on low‑end Southeast Asian devices, built a custom toolchain with texture‑atlas and draw‑call optimizations, trimmed unused modules, migrated the project to a modern npm‑based workflow with Webpack, linting, testing and CI/CD, and created scaffolding utilities that now let developers treat H5 game development like any frontend project, speeding iteration and improving code quality.

Egret engineGame Developmentci/cd
0 likes · 19 min read
Shopee Games: Engine Selection, Optimization, and Engineering Practices for H5 Game Development
Dada Group Technology
Dada Group Technology
Jan 14, 2022 · Frontend Development

Optimizing Build and Dependency Installation for Dada's Large-Scale Frontend System

This article analyzes the slow build process of Dada's massive frontend platform, identifies bottlenecks in dependency installation and webpack compilation, and presents practical optimizations such as node_modules caching, cp command adjustments, Babel loader caching, and other webpack tweaks that reduced average build time from 600 seconds to around 100 seconds.

Build OptimizationYARNbabel
0 likes · 8 min read
Optimizing Build and Dependency Installation for Dada's Large-Scale Frontend System
ELab Team
ELab Team
Jan 5, 2022 · Frontend Development

Mastering Webpack Hot Module Replacement: Boost Your Development Speed

This article explains what Webpack's Hot Module Replacement (HMR) is, walks through its configuration steps, and dives deep into the underlying mechanisms—including the dev server, socket communication, and HotModuleReplacementPlugin—showing how HMR enables instant, state‑preserving updates during development.

Hot Module Replacementdev serverhmr
0 likes · 15 min read
Mastering Webpack Hot Module Replacement: Boost Your Development Speed
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 30, 2021 · Frontend Development

Mastering Plugin Architecture: Build Extensible Babel and Webpack Plugins

This article explains the core‑plugin architecture, outlines the roles of Core, PluginApi and Plugin, and demonstrates how to create and integrate custom plugins for Babel and Webpack, covering AST transformation, visitor merging, Tapable hooks, and practical code examples to improve extensibility and maintainability.

Plugin SystemTapablebabel
0 likes · 13 min read
Mastering Plugin Architecture: Build Extensible Babel and Webpack Plugins
ByteFE
ByteFE
Dec 17, 2021 · Frontend Development

Editor's Recommendations: Frontend Development Articles and Resources

This editor's recommendation roundup features a selection of technical articles on frontend development—including interviews with Three.js author, Webpack sourcemaps, V8 internals, Flutter rendering, and related backend and performance topics—providing links and brief summaries for further reading.

CLIVSCodeWeb3
0 likes · 6 min read
Editor's Recommendations: Frontend Development Articles and Resources
ELab Team
ELab Team
Dec 10, 2021 · Frontend Development

How to Leverage Webpack Stats for Dependency Analysis and Build Optimization

This article explains how to use Webpack's stats object to generate a JSON report of module dependencies and compilation performance, enabling developers to visualize the dependency graph, identify impact of changes, and fine‑tune build speed and bundle size.

Build OptimizationDependency Analysis_stats
0 likes · 24 min read
How to Leverage Webpack Stats for Dependency Analysis and Build Optimization
ByteFE
ByteFE
Dec 6, 2021 · Frontend Development

Compressing i18n Keys to Reduce Bundle Size and Speed Up Frontend Builds

This article describes a method for shortening i18n keys in Feishu's frontend architecture by encoding them into compact strings, integrating the process into Babel and webpack pipelines, and demonstrates a 7.2 MB reduction in total page code size for over 11,000 keys.

Frontend Optimizationcode compressioni18n
0 likes · 9 min read
Compressing i18n Keys to Reduce Bundle Size and Speed Up Frontend Builds
ELab Team
ELab Team
Dec 1, 2021 · Frontend Development

Build a Vue Click-to-VSCode Loader & Plugin: Step‑by‑Step Guide

Learn how to create a custom webpack loader and plugin that injects source‑code metadata into Vue components, enabling click‑to‑open functionality in VSCode, with detailed explanations of loader and plugin architecture, debugging techniques, server setup, and integration steps for a seamless development experience.

Vueloaderplugin
0 likes · 23 min read
Build a Vue Click-to-VSCode Loader & Plugin: Step‑by‑Step Guide
Ctrip Technology
Ctrip Technology
Nov 25, 2021 · Frontend Development

Optimizing Taro Compilation and Packaging with Webpack: Reducing Build Time and Package Size

This article examines the performance bottlenecks in large Taro projects, details how to analyze and modify Taro’s built‑in webpack configuration using webpack‑chain, and presents plugin‑based solutions—thread‑loader, cache‑loader, and terser‑webpack‑plugin—to cut build time to one‑third and shrink package size below the 2 MB limit.

cache-loadermini-programthread-loader
0 likes · 16 min read
Optimizing Taro Compilation and Packaging with Webpack: Reducing Build Time and Package Size
ByteFE
ByteFE
Nov 19, 2021 · Frontend Development

Editor's Picks: Curated Technical Articles on Frontend Development

This editor's pick showcases a variety of technical articles on frontend development, including mini‑program integration, rich text editor evolution, Rust for JavaScript infrastructure, WebAssembly use cases, web screen recording, Webpack scope hoisting, Node.js multiprocess logging, JavaScript debugging, and Axios source code analysis.

axiosdebuggingnodejs
0 likes · 6 min read
Editor's Picks: Curated Technical Articles on Frontend Development
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 15, 2021 · Frontend Development

How IMFLOW Was Re‑Engineered: From Monolithic Tool to Modular Build‑Kit Architecture

This article explains the complete redesign of IMFLOW, a Webpack‑based engineering tool, detailing the motivations, goals, refactoring patterns, modular architecture, plugin system, and performance improvements that transformed it from a heavyweight monolith into a lightweight, extensible core‑plus‑build‑kit solution for frontend development.

Build Toolfrontendimflow
0 likes · 37 min read
How IMFLOW Was Re‑Engineered: From Monolithic Tool to Modular Build‑Kit Architecture
Taobao Frontend Technology
Taobao Frontend Technology
Nov 9, 2021 · Frontend Development

Why IceJS 2.0 Is Revolutionizing Frontend Development with Vite and Webpack

IceJS, a progressive React‑based framework from Alibaba's ICE team, has evolved to version 2.0, adding Vite support, Webpack 5 upgrades, SWC compilation, Module Federation pre‑bundling, SSG capabilities, and tighter micro‑frontend integration, dramatically improving developer experience and build performance.

frontend frameworkicejsmicro-frontend
0 likes · 15 min read
Why IceJS 2.0 Is Revolutionizing Frontend Development with Vite and Webpack
ELab Team
ELab Team
Nov 3, 2021 · Frontend Development

Demystifying Webpack: A Deep Dive into Its Build Process and a Simple Implementation

This article walks through Webpack’s complete build pipeline—from initialization and configuration parsing, through module loading, compilation, and chunk generation, to asset emission—while also providing a concise reference implementation of a minimal Webpack clone for hands‑on learning.

Build ProcessPluginsloaders
0 likes · 26 min read
Demystifying Webpack: A Deep Dive into Its Build Process and a Simple Implementation
iQIYI Technical Product Team
iQIYI Technical Product Team
Oct 15, 2021 · Frontend Development

Applying Source Maps for Front-End Error Monitoring in Production

The article explains how integrating Source Maps—generated by modern bundlers and automatically uploaded via a Webpack plugin—into iQIYI Hawkeye’s front‑end exception monitoring restores original file names and line numbers for minified production JavaScript errors, enabling rapid debugging despite bundle‑size and versioning challenges.

Front-endHawkeyeJavaScript
0 likes · 11 min read
Applying Source Maps for Front-End Error Monitoring in Production
Aotu Lab
Aotu Lab
Sep 24, 2021 · Frontend Development

Accelerate Frontend Development with esbuild, Treemap, XState, TypeScript & V8

This article explores how to speed up Webpack builds with esbuild-loader, implements dynamic treemap visualizations for NetEase Cloud Music’s social voting feature, introduces XState’s finite‑state‑machine approach to state management, explains the inner workings of TypeScript, and provides a deep dive into the V8 JavaScript engine.

State ManagementTypeScriptV8
0 likes · 7 min read
Accelerate Frontend Development with esbuild, Treemap, XState, TypeScript & V8
ELab Team
ELab Team
Sep 15, 2021 · Frontend Development

Mastering Source Maps: How Webpack Transforms and Traces Your Code

This article explains the purpose, generation, and optimization of source maps in modern frontend builds, details the internal structure and VLQ encoding, compares the various webpack devtool options, and offers practical guidance on choosing the right mode for development and production environments.

build toolsdebuggingsource map
0 likes · 15 min read
Mastering Source Maps: How Webpack Transforms and Traces Your Code
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 2, 2021 · Frontend Development

Unlock Webpack splitChunks & Manifest: A Hands‑On Guide to Smarter Bundling

This tutorial walks through the fundamentals of Webpack’s splitChunks and manifest features, explaining modules, chunks, and bundles, detailing configuration options like chunks, cacheGroups, minChunks, priority, maxInitialRequests, and maxAsyncRequests, and shows practical code examples and visual results to help developers master efficient asset bundling.

build-toolsfrontendmanifest
0 likes · 15 min read
Unlock Webpack splitChunks & Manifest: A Hands‑On Guide to Smarter Bundling
ELab Team
ELab Team
Aug 6, 2021 · Fundamentals

Fixing JS Module Errors: CommonJS vs ES6 and Circular Dependency Solutions

This article examines why JavaScript applications encounter runtime errors when using CommonJS or ES6 modules, explains the underlying module loading mechanisms, highlights pitfalls of circular dependencies, and provides practical solutions—including webpack plugins and code adjustments—to reliably resolve such issues.

CommonJSModulescircular-dependency
0 likes · 20 min read
Fixing JS Module Errors: CommonJS vs ES6 and Circular Dependency Solutions
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 14, 2021 · Frontend Development

Mastering Module Federation: From NPM Sharing to Advanced Remote Loading

This article explains how to share UI modules via NPM packages and Module Federation, compares traditional iframe approaches, dives into low‑level and high‑level concepts, demonstrates practical webpack configurations, version‑selection strategies, and runtime loading mechanisms with detailed code examples.

Frontend ArchitectureJavaScriptMicro Frontends
0 likes · 20 min read
Mastering Module Federation: From NPM Sharing to Advanced Remote Loading
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 7, 2021 · Frontend Development

Mastering Webpack: From Zero to Advanced Configuration for Faster Development

This comprehensive tutorial walks you through setting up a minimal Webpack project, adding Babel, configuring dev‑server with hot reload, optimizing source maps, splitting environments, handling CSS/LESS, extracting and minifying assets, managing static resources, and applying advanced performance tricks such as caching, code splitting, and multi‑threaded loaders.

builddev-serverfrontend
0 likes · 24 min read
Mastering Webpack: From Zero to Advanced Configuration for Faster Development
ELab Team
ELab Team
Jul 7, 2021 · Frontend Development

How to Speed Up Webpack Builds: A Deep Dive into SplitChunksPlugin Optimization

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.

Code Splittingbundle optimizationsplitchunks
0 likes · 29 min read
How to Speed Up Webpack Builds: A Deep Dive into SplitChunksPlugin Optimization
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 30, 2021 · Frontend Development

Mastering Webpack Code Splitting: From Entry Points to Magic Comments

This article explains how to use Webpack's code splitting techniques—including multiple entry points, the SplitChunksPlugin, dynamic imports, and magic comments—to break large bundles into smaller chunks, reduce duplicate dependencies, and improve loading performance in modern frontend applications.

JavaScriptcode-splittingfrontend
0 likes · 13 min read
Mastering Webpack Code Splitting: From Entry Points to Magic Comments
Baidu Geek Talk
Baidu Geek Talk
Jun 28, 2021 · Frontend Development

How EMP Simplifies Micro‑Frontend Architecture for Large Web Projects

This article introduces EMP, a micro‑frontend solution that helps developers build production‑ready micro‑frontend architectures more easily and efficiently by addressing large bundle sizes, team collaboration, and module sharing, and provides detailed usage scenarios, ecosystem support, configuration examples, upgrade guides, and performance comparisons.

EMPFrontend ArchitectureModule Federation
0 likes · 9 min read
How EMP Simplifies Micro‑Frontend Architecture for Large Web Projects
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 27, 2021 · Frontend Development

How Webpack and Rollup Implement Tree-Shaking: A Deep Dive

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.

JavaScriptRollupUglifyJS
0 likes · 18 min read
How Webpack and Rollup Implement Tree-Shaking: A Deep Dive
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 21, 2021 · Frontend Development

Mastering Webpack: From Custom Loaders to Powerful Plugins

This article explains how Webpack loaders work, outlines development guidelines, demonstrates synchronous, asynchronous, raw, and pitching loaders with code examples, and then guides you through creating and configuring custom plugins, covering hooks, async handling, and a practical build‑info plugin.

JavaScriptbuild-toolsfrontend
0 likes · 21 min read
Mastering Webpack: From Custom Loaders to Powerful Plugins
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 14, 2021 · Frontend Development

Mastering Webpack HMR: From Basics to Custom Module Hot Updates

This article explains the background, concepts, workflow, and hands‑on setup of Webpack’s Hot Module Replacement (HMR), detailing server‑client communication, runtime mechanics, and how to manually implement module hot‑updates without a framework, complete with code examples and configuration tips.

JavaScriptdev serverfrontend development
0 likes · 14 min read
Mastering Webpack HMR: From Basics to Custom Module Hot Updates
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 8, 2021 · Frontend Development

Mastering Webpack Dev Server: HMR, Proxy, and Live Reload Explained

This article demystifies Webpack Dev Server by detailing its core components—webpack-dev-middleware, hot module replacement, live reload, proxy, and history API fallback—while providing practical code examples and configuration tips to streamline local development, improve build performance, and simplify debugging in modern frontend projects.

Live Reloaddev serverfrontend development
0 likes · 25 min read
Mastering Webpack Dev Server: HMR, Proxy, and Live Reload Explained
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 3, 2021 · Frontend Development

Unlocking Webpack Source Maps: From Basics to Advanced Configurations

This article demystifies source maps by explaining their purpose, the mapping mechanism, Base64‑VLQ encoding, and the full range of webpack devtool options, while providing practical code examples, best‑practice configurations for development and production, and detailed tables of keywords and fields.

base64 VLQdebuggingdevtool
0 likes · 28 min read
Unlocking Webpack Source Maps: From Basics to Advanced Configurations
ByteFE
ByteFE
Jun 2, 2021 · Frontend Development

Exploring Unbundled Development: From Webpack Bottlenecks to Vite‑Based Dev Server Solutions

This article examines the performance challenges of traditional bundled development with Webpack, evaluates emerging unbundled tools such as Snowpack, WMR, and Vite, and details the design and implementation of a custom unbundled dev server that accelerates startup, handles dependency preprocessing, resource transformation, and hot module replacement.

Vitedev-serveresbuild
0 likes · 22 min read
Exploring Unbundled Development: From Webpack Bottlenecks to Vite‑Based Dev Server Solutions
ByteDance Web Infra
ByteDance Web Infra
May 31, 2021 · Frontend Development

Improving Development Server Startup Speed with Unbundled Development: From Webpack to Vite and Custom Solutions

This article analyses the performance problems of traditional bundled development with Webpack, explores unbundled tools such as Snowpack, WMR and Vite, and details a custom dev‑server implementation that leverages CJS‑to‑ESM conversion, esbuild bundling, plugin architecture, and fast HMR to dramatically reduce startup time for large monorepos.

DevToolsViteesbuild
0 likes · 19 min read
Improving Development Server Startup Speed with Unbundled Development: From Webpack to Vite and Custom Solutions
WeDoctor Frontend Technology
WeDoctor Frontend Technology
May 20, 2021 · Frontend Development

Demystifying Webpack: Build Your Own Simple JavaScript Bundler

This article explains webpack’s core concept as a static module bundler, describes why bundling is needed for browser execution, details how webpack builds a dependency graph and loads modules, and walks through building a minimal custom bundler using Node and Babel to illustrate the underlying principles.

custom bundlerdependency graphwebpack
0 likes · 12 min read
Demystifying Webpack: Build Your Own Simple JavaScript Bundler
WeDoctor Frontend Technology
WeDoctor Frontend Technology
May 18, 2021 · Frontend Development

From Stone Age to Bundless: Mastering Modern Frontend Build Tools

Explore the evolution of frontend build systems—from early manual bundling and IIFE modules through AMD/CMD, webpack, Vite, and rollup—while learning key interview questions, practical optimization techniques, and how to build a comprehensive, future‑ready construction framework for modern web development.

Rollupfrontendwebpack
0 likes · 10 min read
From Stone Age to Bundless: Mastering Modern Frontend Build Tools
ByteFE
ByteFE
May 8, 2021 · Fundamentals

Webpack Core Principles: Architecture and Workflow Analysis

This article provides a comprehensive analysis of Webpack's core architecture, explaining its three-phase workflow (initialization, building, and generation), plugin system, and module handling mechanisms to help developers understand the underlying principles of this static module bundler.

JavaScriptbuild toolscompilation process
0 likes · 23 min read
Webpack Core Principles: Architecture and Workflow Analysis
Liulishuo Tech Team
Liulishuo Tech Team
Apr 22, 2021 · Frontend Development

Building a Cross‑Platform English Quiz Mini‑Game with React & Pixi.js

This article details how to create a cross‑platform English‑learning quiz PK mini‑game for both a main app (H5) and WeChat mini‑games, covering technology selection, project structure, webpack configuration, virtual routing, component development with react‑pixi‑fiber, animation techniques, platform adapters, and performance optimizations.

H5ReactWeChat Mini Game
0 likes · 22 min read
Building a Cross‑Platform English Quiz Mini‑Game with React & Pixi.js
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 2, 2021 · Frontend Development

Why ESM Build Tools Like Snowpack and Vite Beat Webpack

With the rise of ESM‑based build tools such as Snowpack and Vite, developers can bypass traditional bundling, achieving faster compilation and leveraging native browser module loading, while Webpack adapts through physical caching and Module Federation, offering flexible module sharing and performance optimizations for modern frontend projects.

ESMModule FederationVite
0 likes · 13 min read
Why ESM Build Tools Like Snowpack and Vite Beat Webpack
Beike Product & Technology
Beike Product & Technology
Mar 24, 2021 · Frontend Development

Understanding Tapable: Hooks and Flow Control in Webpack

Tapable is a flow‑control library used by webpack that implements synchronous and asynchronous hook mechanisms, enabling plugins to subscribe and publish events through a standardized interface, as demonstrated by source code analysis and generated function examples.

Flow ControlJavaScriptTapable
0 likes · 11 min read
Understanding Tapable: Hooks and Flow Control in Webpack
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
Baidu Geek Talk
Baidu Geek Talk
Mar 15, 2021 · Frontend Development

Progressive Front-End Rendering: Route Separation, Pre‑Static Generation, and WebView Pre‑Creation for H5 Performance Optimization

The article describes a progressive front‑end rendering strategy that replaces synchronous template rendering with route separation, build‑time pre‑static HTML generation, and WebView pre‑creation, using skeleton components to cut first‑paint time, lower TTFB and JavaScript delays, and improve H5 performance, scalability and maintenance.

H5frontendoptimization
0 likes · 12 min read
Progressive Front-End Rendering: Route Separation, Pre‑Static Generation, and WebView Pre‑Creation for H5 Performance Optimization
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 9, 2021 · Frontend Development

How Webpack 5 Supercharges Build Speed: Real‑World Data from Penguin Tutor

This article details the practical upgrade from Webpack 4 to Webpack 5 in the Penguin Tutor H5 project, presenting build‑time comparisons, bundle‑size reductions, and in‑depth analysis of new features such as persistent caching, deterministic IDs, removed Node polyfills, enhanced tree‑shaking, and Module Federation, while also sharing common pitfalls and solutions.

Build PerformanceModule Federationcaching
0 likes · 13 min read
How Webpack 5 Supercharges Build Speed: Real‑World Data from Penguin Tutor
Baidu Geek Talk
Baidu Geek Talk
Mar 8, 2021 · Frontend Development

Introduction to San CLI: Purpose, Usage, and Plugin Development

The article introduces San CLI—a command‑line tool for the San front‑end framework—explaining its purpose, core commands for project scaffolding, development, building, and inspection, as well as how to extend it with command and service plugins for customizable, production‑ready workflows.

Build ToolPlugin DevelopmentSan CLI
0 likes · 14 min read
Introduction to San CLI: Purpose, Usage, and Plugin Development
vivo Internet Technology
vivo Internet Technology
Mar 3, 2021 · Frontend Development

Understanding Tapable: Architecture, Hook Types, and Practical Applications

Tapable powers Webpack’s extensible workflow by providing a dynamic function generator and a suite of over ten hook classes—such as SyncHook, AsyncSeriesWaterfallHook, and AsyncParallelHook—that let developers compose synchronous, asynchronous, bail‑out, waterfall, and looping pipelines, illustrated by a jQuery.ajax‑style service where each request phase is modularly plugged in.

JavaScriptTapablehooks
0 likes · 18 min read
Understanding Tapable: Architecture, Hook Types, and Practical Applications
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 1, 2021 · Frontend Development

Debug Frontend Projects with Whistle: From Webpack DevServer to Legacy Setups

This guide shows how to integrate the Whistle proxy with frontend projects—whether using webpack devServer, a traditional setup without build tools, or custom plugins—by configuring domain‑based rules, handling CGI mocks, and leveraging exclude filters to enable seamless local debugging via real online URLs.

Local DevelopmentProxyfrontend debugging
0 likes · 10 min read
Debug Frontend Projects with Whistle: From Webpack DevServer to Legacy Setups
Sohu Tech Products
Sohu Tech Products
Feb 17, 2021 · Frontend Development

Image Optimization Techniques for Frontend Development

This article explains why excessive or large images hurt page load speed in e‑commerce sites and provides a comprehensive guide to selecting proper image formats, applying lossless and lossy compression, using tools, configuring webpack, employing CSS sprites, icon fonts, base64, CDN, lazy loading, preloading, responsive and progressive image strategies to improve web performance.

Responsive ImagesWeb Performancefrontend
0 likes · 22 min read
Image Optimization Techniques for Frontend Development
Baidu App Technology
Baidu App Technology
Feb 4, 2021 · Frontend Development

Mastering Hot Module Replacement in San: Inside san-hot-loader

This article explains how to enable and configure Hot Module Replacement for the San framework using san-hot-loader, covering both San CLI and manual Webpack setups, the underlying HMR workflow, module detection logic, and the core code that injects runtime updates for components and stores.

Hot Module ReplacementJavaScriptSAN
0 likes · 21 min read
Mastering Hot Module Replacement in San: Inside san-hot-loader
Baidu App Technology
Baidu App Technology
Jan 28, 2021 · Frontend Development

Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack

This article provides a deep technical walkthrough of san-loader, explaining how the Baidu‑developed San framework’s .san files are parsed, split into template, script and style sections, processed by san-loader‑plugin, and finally compiled into browser‑ready code with support for options like compileTemplate, esModule, and CSS Modules.

CSS Modulesfrontendloader
0 likes · 18 min read
Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jan 25, 2021 · Frontend Development

Boost Your Web App Speed: Proven Frontend Performance Hacks & Tools

This article walks through why frontend performance matters for user experience and SEO, then presents a comprehensive toolbox—including Chrome DevTools, Lighthouse, webPageTest, webpack plugins, HTTP caching, service workers, preload/prefetch, lazy loading, skeleton screens, and virtualization techniques—plus concrete code snippets and best‑practice rules to dramatically reduce load times and improve perceived responsiveness.

LighthouseWeb Optimizationfrontend performance
0 likes · 18 min read
Boost Your Web App Speed: Proven Frontend Performance Hacks & Tools
58 Tech
58 Tech
Jan 11, 2021 · Frontend Development

Cross‑Platform Development with Taro 2.x: Challenges and Solutions for React Native, Mini‑Programs, and H5

This article details how a real‑world property‑listing project leveraged Taro 2.x to build a single codebase that runs on React Native, various mini‑programs, and H5, describing the motivations, technical obstacles, framework comparisons, custom CLI patches, conditional compilation techniques, and deployment workflows.

Mini-ProgramReact NativeTaro
0 likes · 12 min read
Cross‑Platform Development with Taro 2.x: Challenges and Solutions for React Native, Mini‑Programs, and H5
iQIYI Technical Product Team
iQIYI Technical Product Team
Jan 8, 2021 · Frontend Development

Front‑End Performance Optimization for iQIYI Video Production Smart Cloud Platform

After replacing its three‑year‑old Arm.js stack with a Vue.js + Node.js architecture, iQIYI’s smart‑cloud video platform tackled loading, rendering, and API bottlenecks by using CDN‑served library DLLs, refined Webpack splitChunks, lazy‑loaded components with skeleton screens, and rewrote the BFF in NestJS, cutting bundle size by two‑thirds, reducing first‑page load to 790 ms and halving core API latency.

Node.jsVue.jsfrontend
0 likes · 16 min read
Front‑End Performance Optimization for iQIYI Video Production Smart Cloud Platform
Baidu App Technology
Baidu App Technology
Dec 10, 2020 · Frontend Development

Mastering San CLI: From Project Creation to Custom Plugins

This article introduces San CLI, explains why a command‑line interface boosts front‑end productivity, walks through project initialization, development server, production build, remote deployment, inspection, UI, and demonstrates how to extend the tool with custom command and service plugins.

Plugin DevelopmentSan CLIbuild tools
0 likes · 16 min read
Mastering San CLI: From Project Creation to Custom Plugins
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.

Code SplittingImportVue lazy loading
0 likes · 13 min read
Understanding Webpack Asynchronous Loading and Code Splitting Strategies
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 16, 2020 · Frontend Development

Performance Optimization Practices for the XRN Platform (Web and React Native)

NetEase’s XRN platform boosts Web and React Native performance by eliminating duplicate bundles, pruning unused code, importing only needed polyfills, using dynamic imports and bundle splitting, pre‑loading assets, lazily loading images and lists, limiting first‑screen rendering, and applying memoization, raising Lighthouse scores from 50.3 to 80.4 and cutting RN load time by 40 %.

Code SplittingReact NativeTree Shaking
0 likes · 13 min read
Performance Optimization Practices for the XRN Platform (Web and React Native)
58 Tech
58 Tech
Nov 2, 2020 · Frontend Development

Design and Implementation of a React Scaffolding and Packaging Script for Financial Front‑End Projects

The article describes how a financial front‑end team identified manual project‑copying pain points, designed two automation tools—a project‑creation scaffolding and a generic packaging script—and details their architecture, implementation, and the resulting improvements in development efficiency and consistency across more than 260 projects.

Financial TechReactbuild-scripts
0 likes · 10 min read
Design and Implementation of a React Scaffolding and Packaging Script for Financial Front‑End Projects
Amap Tech
Amap Tech
Oct 30, 2020 · Frontend Development

Frontend Performance Optimization: Common Issues and Solutions for Large‑Scale Projects

Large‑scale front‑end projects suffer from oversized bundles, unnecessary listeners, deep cloning, and mutable state, causing latency and crashes; the article explains how to diagnose these problems with Chrome DevTools and Webpack tools and resolves them through bundle splitting, tree‑shaking, memoisation, immutable patterns, and caching.

ReactTree Shakingmutable-data
0 likes · 12 min read
Frontend Performance Optimization: Common Issues and Solutions for Large‑Scale Projects
WecTeam
WecTeam
Oct 28, 2020 · Frontend Development

How Does webpack-dev-server Work? Inside Its Core Hot‑Reload Mechanics

This article dissects the inner workings of webpack-dev-server, covering its command‑line entry point, the Server class initialization, the role of webpack-dev-middleware, websocket communication, hot module replacement logic, and how live‑reload and hot‑reload are orchestrated during development.

Hot Module Replacementdev middlewarefrontend development
0 likes · 23 min read
How Does webpack-dev-server Work? Inside Its Core Hot‑Reload Mechanics
vivo Internet Technology
vivo Internet Technology
Oct 22, 2020 · Frontend Development

Optimizing Front‑End Resource Loading with preload and prefetch

The article explains how to improve front‑end performance by using the browser hints preload and prefetch—preload for critical resources like fonts, prefetch for resources needed later—showing practical examples, webpack automation, best‑practice guidelines, and common pitfalls to avoid.

Web Performancebrowser cachingfrontend
0 likes · 14 min read
Optimizing Front‑End Resource Loading with preload and prefetch
Aotu Lab
Aotu Lab
Oct 22, 2020 · Frontend Development

October Tech Highlights: NPM 7, HTTP/3, Webpack 5 Federation, iOS Scroll Physics

This article reviews October's key tech updates, covering NPM v7's new workspace and peer‑dependency features, Chrome's rollout of HTTP/3 over QUIC, Webpack 5's Module Federation for JavaScript architecture, the physics behind iOS UIScrollView animations, Chinese web‑font handling, the lightweight SVGA animation format, and a 1 KB JavaScript 3D game demo.

QUICanimationhttp3
0 likes · 6 min read
October Tech Highlights: NPM 7, HTTP/3, Webpack 5 Federation, iOS Scroll Physics
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 15, 2020 · Frontend Development

How to Diagnose and Fix Front‑End Performance Bottlenecks in Large React Projects

This article explains why modern front‑end applications suffer from performance problems such as oversized bundles and costly code execution, shows how to pinpoint the root causes using Chrome DevTools and profiling tools, and provides practical optimization techniques—including webpack configuration, tree‑shaking, immutable data handling, and memoization—to dramatically improve load and render speed.

frontendoptimizationwebpack
0 likes · 12 min read
How to Diagnose and Fix Front‑End Performance Bottlenecks in Large React Projects
Aotu Lab
Aotu Lab
Oct 14, 2020 · Frontend Development

Explore Webpack 5, HTTPS Essentials, ARCore, React‑Three‑Fiber, and AI Chatbots

This article surveys recent front‑end breakthroughs—including Webpack 5’s new features and Module Federation—explains HTTPS fundamentals and Nginx setup, introduces ARCore core concepts, demonstrates React‑Three‑Fiber for three.js, reviews AI dialogue system research, and highlights the open‑source ckplayer video player.

HTTPSarcoreckplayer
0 likes · 6 min read
Explore Webpack 5, HTTPS Essentials, ARCore, React‑Three‑Fiber, and AI Chatbots
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Sep 17, 2020 · Frontend Development

Micro‑Frontend Architecture: Benefits, Implementation Options, and Technical Details

This article explains why rapid business growth and rising development costs push teams toward a micro‑frontend architecture, compares monolithic and micro‑frontend approaches, outlines four implementation patterns, presents the chosen Vue‑based tech stack, and shares code snippets for communication, scrolling, and build‑time optimizations.

Frontend ArchitectureVueiframe
0 likes · 15 min read
Micro‑Frontend Architecture: Benefits, Implementation Options, and Technical Details
Architects Research Society
Architects Research Society
Jul 28, 2020 · Frontend Development

Implementing Micro Frontends with Angular: A Practical Guide (Part 2)

This article explains how Outbrain built a micro‑frontend architecture using Angular lazy‑loaded modules, a custom share‑loader for cross‑app module sharing, DOM encapsulation, independent testing, and per‑app deployment via Node services, providing a concrete, framework‑agnostic solution.

AngularFrontend ArchitectureMicro Frontends
0 likes · 8 min read
Implementing Micro Frontends with Angular: A Practical Guide (Part 2)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 9, 2020 · Frontend Development

Mastering Source Maps: From JavaScript to CSS in Webpack

Source maps bridge compiled code and original sources, enabling precise debugging for JavaScript and CSS; this guide explains the source map format, key fields, and practical Webpack configurations—including devtool options, module mapping, and a custom loader for CSS URL resolution—to optimize both development and production workflows.

css-loaderdevtoolfrontend debugging
0 likes · 10 min read
Mastering Source Maps: From JavaScript to CSS in Webpack
Fulu Network R&D Team
Fulu Network R&D Team
Jul 6, 2020 · Frontend Development

Antd Icon Reduce Plugin: Design, Implementation, and Usage for Reducing Bundle Size

This article introduces the Antd Icon Reduce plugin, explains the problem of oversized Ant Design icon bundles, details the design and implementation of a webpack loader and plugin that dynamically extracts used icons and modifies alias configuration, and provides installation and configuration instructions to achieve significant bundle size reduction.

antdicon optimizationloader
0 likes · 9 min read
Antd Icon Reduce Plugin: Design, Implementation, and Usage for Reducing Bundle Size
37 Interactive Technology Team
37 Interactive Technology Team
Jun 19, 2020 · Frontend Development

Webpack Multi-Page Project Build Practice

The article walks through configuring Webpack to build a multi‑page Vue application—showing why the default CLI SPA setup falls short, how to generate dynamic entry points, set output paths, apply loaders for JS, CSS, images, and use plugins such as MiniCssExtractPlugin, CopyWebpackPlugin and HtmlWebpackPlugin to produce separate bundles and HTML files for each page.

Configurationbuildfrontend
0 likes · 20 min read
Webpack Multi-Page Project Build Practice
Fulu Network R&D Team
Fulu Network R&D Team
Jun 8, 2020 · Frontend Development

Design and Implementation of a Micro‑Frontend Architecture for Internal Systems

This article presents a comprehensive technical study on adopting micro‑frontend architecture to solve version‑dependency, resource‑size, and navigation‑performance issues in a large internal system suite, detailing background analysis, solution research, layered architecture design, key technical challenges, custom webpack plugins, build workflow, and remaining open problems.

Frontend ArchitectureResource Managementmicro-frontend
0 likes · 14 min read
Design and Implementation of a Micro‑Frontend Architecture for Internal Systems
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 20, 2020 · Frontend Development

How to Keep Front‑End Assets Available When a CDN Fails

When a CDN becomes inaccessible, a website's static resources can disappear, but by detecting failed CDN requests and automatically retrying them from the main domain—while preserving HTML, CSS, image, and especially JavaScript execution order—developers can ensure continuous site availability.

CDNFallbackfrontend
0 likes · 8 min read
How to Keep Front‑End Assets Available When a CDN Fails
JD Retail Technology
JD Retail Technology
May 19, 2020 · Frontend Development

Build and Release Process Optimization for the Tongtian Tower Visual CMS Using Webpack

The Tongtian Tower visual CMS team optimized its build, dependency packaging, and pre‑release workflows in Q1 2020 by migrating to webpack 4, parallelizing template builds, and improving FTP uploads, cutting total release time from 358 seconds to 160 seconds and saving roughly 7 hours of developer effort per week.

Build Optimizationcontinuous integrationfrontend engineering
0 likes · 8 min read
Build and Release Process Optimization for the Tongtian Tower Visual CMS Using Webpack
WecTeam
WecTeam
Apr 27, 2020 · Frontend Development

Master Front‑End Build Optimization: Priorities, Modules, and Performance Hacks

This article presents a comprehensive front‑end performance checklist covering resource inventory, priority grouping, native JavaScript modules, tree‑shaking, code‑splitting, Web Workers, WebAssembly, pre‑compilation, differential serving, unused code removal, bundle trimming and predictive loading techniques, with practical tool recommendations.

Build OptimizationWeb WorkerWebAssembly
0 likes · 30 min read
Master Front‑End Build Optimization: Priorities, Modules, and Performance Hacks
Youku Technology
Youku Technology
Apr 14, 2020 · Frontend Development

Evolution of Frontend Build Tools and Webpack Optimization Practices

The article traces frontend build tools from Grunt to Gulp to Webpack, explains Webpack’s modular configuration and split‑CLI structure, and details practical optimizations—such as splitChunks, terser, Happypack, DLLs, and proxy settings—that together can halve bundle size and triple build speed, while previewing upcoming Webpack 5 changes.

Nodebuild-toolsfrontend
0 likes · 15 min read
Evolution of Frontend Build Tools and Webpack Optimization Practices
360 Tech Engineering
360 Tech Engineering
Apr 8, 2020 · Backend Development

Implementing Vue Server-Side Rendering (SSR) with Koa, Docker, and Kubernetes

This technical guide explains how to build a Vue SSR service using Koa, outlines the project benefits and trade‑offs, details the directory structure, server and client entry files, webpack configurations, and describes a Docker‑based CI/CD pipeline with Kubernetes deployment for scalable production environments.

DockerKoaKubernetes
0 likes · 22 min read
Implementing Vue Server-Side Rendering (SSR) with Koa, Docker, and Kubernetes
Sohu Tech Products
Sohu Tech Products
Apr 1, 2020 · Frontend Development

Common Webpack Optimization Techniques for Reducing Build Time and Bundle Size

This article outlines practical webpack optimization methods—including bundle analysis, build‑time measurement, on‑demand loading, loader configuration, path resolution, source‑map handling, code compression, extracting common modules, CDN usage, and multi‑process builds—to improve page load speed, reduce bundle size, and enhance overall frontend performance.

Build Optimizationbundle sizefrontend
0 likes · 16 min read
Common Webpack Optimization Techniques for Reducing Build Time and Bundle Size
Taobao Frontend Technology
Taobao Frontend Technology
Mar 25, 2020 · Frontend Development

Boost Web Performance with Code Splitting: Practical Guide & Tips

This article explains why reducing initial load resources is crucial for web performance, shows how to measure code utilization with Chrome DevTools, and provides detailed guidance on static and dynamic code splitting, magic comments, and webpack configurations to create faster, smoother front‑end applications.

Code SplittingWeb Optimizationfrontend performance
0 likes · 10 min read
Boost Web Performance with Code Splitting: Practical Guide & Tips
政采云技术
政采云技术
Mar 22, 2020 · Frontend Development

In‑Depth Source Code Analysis of webpack‑dev‑middleware

This article provides a detailed walkthrough of webpack-dev-middleware version 3.7.2, explaining its purpose, key features, and the core implementation of its index.js and middleware.js files, including code snippets and how it integrates with Express to serve compiled assets from memory during development.

DevToolsfrontendmiddleware
0 likes · 12 min read
In‑Depth Source Code Analysis of webpack‑dev‑middleware
vivo Internet Technology
vivo Internet Technology
Mar 4, 2020 · Frontend Development

Wukong Activity Middle Platform: Micro-Frontend Architecture and Implementation for Marketing Activities

Vivo’s Wukong Activity Middle Platform employs a micro‑frontend RSC architecture to streamline marketing H5 development by providing reusable components, template and task marketplaces, real‑time cloud configuration, asset libraries, and PaaS developer tools—including a VSCode plugin—reducing release cycles, resource waste, data silos, and security risks across 30+ business units.

Frontend ArchitectureRSCVue.js
0 likes · 18 min read
Wukong Activity Middle Platform: Micro-Frontend Architecture and Implementation for Marketing Activities
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 14, 2020 · Frontend Development

Micro‑Frontend Architecture and Implementation Practices Based on Vue

The iQIYI front‑end team built a Vue‑based micro‑frontend framework where a lightweight container supplies shared Vue, router and store globals, dynamically loads each module’s manifest‑listed scripts, merges their routes, and renders them via global functions, yielding a decoupled, maintainable, and extensible application architecture.

Frontend ArchitectureModule Federationcontainer application
0 likes · 13 min read
Micro‑Frontend Architecture and Implementation Practices Based on Vue
Miss Fresh Tech Team
Miss Fresh Tech Team
Feb 11, 2020 · Frontend Development

How We Scaled a Vue-Based Supply Chain Platform with Micro‑Frontends and Single‑Spa

This article details how a Vue‑based supply‑chain platform adopted micro‑frontend architecture with Single‑Spa, SystemJS, and webpack externals to consolidate dozens of independent B2B applications into a single, fast, reload‑free interface, outlining the technical steps, benefits, and trade‑offs.

Frontend ArchitectureMicro Frontendssingle-spa
0 likes · 15 min read
How We Scaled a Vue-Based Supply Chain Platform with Micro‑Frontends and Single‑Spa
21CTO
21CTO
Jan 10, 2020 · Frontend Development

Master Vue in 2019: The Ultimate Knowledge Map for Frontend Developers

This guide presents a high‑level knowledge map for Vue developers, covering essential JavaScript basics, core Vue concepts, component architecture, SPA routing, state management, real‑world tooling, testing, performance optimization, related ecosystems, and advanced frameworks like Nuxt and Vuetify.

JavaScriptNuxtSPA
0 likes · 12 min read
Master Vue in 2019: The Ultimate Knowledge Map for Frontend Developers
AutoHome Frontend
AutoHome Frontend
Dec 23, 2019 · Frontend Development

How to Manage Static Asset Versioning in Vue Projects Without Hashes

This guide explains how to replace hash‑based static asset versioning with timestamps or package version numbers in Vue projects, adjust webpack configuration to keep hashes only on chunk files, handle preload/prefetch hints, and coordinate backend updates for reliable cache busting.

cache bustingprefetchpreload
0 likes · 9 min read
How to Manage Static Asset Versioning in Vue Projects Without Hashes
Tencent Cloud Developer
Tencent Cloud Developer
Nov 29, 2019 · Frontend Development

How to Adapt a JavaScript SDK for IE9, IE8, and IE7 Compatibility

The guide shows how to modify a Webpack‑4 JavaScript SDK—adding Babel symbol handling, using transform‑runtime, employing Flash for IE9 cross‑domain requests, converting ES5 to ES3 with es3ify‑loader, configuring UglifyJs for IE8, polyfilling missing APIs, building a tiny selector engine, and testing on virtual IE7‑IE9 machines.

IE compatibilityJavaScriptPolyfill
0 likes · 21 min read
How to Adapt a JavaScript SDK for IE9, IE8, and IE7 Compatibility
21CTO
21CTO
Nov 12, 2019 · Frontend Development

Boost Vue App Performance: Practical Code, Webpack, and Web Techniques

This article presents a comprehensive guide to improving Vue application performance, covering code‑level tricks such as proper use of v‑if/v‑show, computed vs watch, key handling, lazy loading, and SSR, alongside webpack configuration tweaks, image compression, source‑map tuning, and fundamental web optimizations like gzip and CDN usage.

SSRlazy loadingoptimization
0 likes · 19 min read
Boost Vue App Performance: Practical Code, Webpack, and Web Techniques