Tagged articles
12 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Mar 29, 2024 · Frontend Development

Understanding Vite’s Development Server Architecture and Pre‑bundling Mechanism

Vite accelerates development by serving unbundled ES modules directly to the browser, using a connect‑based dev server that compiles on‑demand, leverages esbuild for fast pre‑bundling of dependencies, generates hash‑based cache queries, and shares plugins with Rollup for consistent production builds.

Hot Module ReplacementPre‑bundlingVite
0 likes · 9 min read
Understanding Vite’s Development Server Architecture and Pre‑bundling Mechanism
37 Interactive Technology Team
37 Interactive Technology Team
Dec 26, 2022 · Frontend Development

How Does Webpack 4 Hot Module Replacement Work? A Deep Dive

This article explains Webpack 4’s hot module replacement feature, covering the compilation process, dev‑server setup, entry configuration, websocket communication, the role of HotModuleReplacementPlugin, and the detailed steps of detecting changes, downloading updates via JSONP, and applying updated modules in the browser.

Frontend BuildHot Module ReplacementJavaScript
0 likes · 14 min read
How Does Webpack 4 Hot Module Replacement Work? A Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Aug 30, 2022 · Frontend Development

Comprehensive Guide to Webpack: Core Concepts, Configuration, Loaders, and Optimization

This comprehensive, step‑by‑step guide walks developers through Webpack’s core concepts, project setup, configuration files, development server with hot module replacement, essential loaders for CSS, images, Less, and Babel, plus optimization techniques such as JavaScript minification, CSS extraction, and output cleaning.

babeldev serverfrontend
0 likes · 15 min read
Comprehensive Guide to Webpack: Core Concepts, Configuration, Loaders, and Optimization
ByteFE
ByteFE
Apr 18, 2022 · Frontend Development

Introduction to Vite: Architecture, Dependency Pre‑Build, and Plugin System

This article provides a comprehensive overview of Vite, covering its motivation as a modern frontend toolchain, core features such as native ES‑module dev server, fast dependency pre‑bundling with esbuild, production builds via Rollup, and detailed explanations of its plugin architecture and debugging utilities.

Plugin Systemdependency prebuilddev server
0 likes · 15 min read
Introduction to Vite: Architecture, Dependency Pre‑Build, and Plugin 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
ELab Team
ELab Team
Jul 1, 2021 · Frontend Development

Why Vite Beats Webpack: A Deep Dive into Its Fast Dev Server and Dependency Pre‑Bundling

This article explains the business need for faster development, introduces Vite and its origins, walks through its CLI, server creation, middleware pipeline, and especially its dependency pre‑bundling mechanism powered by esbuild, while also highlighting performance trade‑offs, ecosystem support, and production suitability.

Vitedependency pre‑bundlingdev server
0 likes · 33 min read
Why Vite Beats Webpack: A Deep Dive into Its Fast Dev Server and Dependency Pre‑Bundling
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
Beike Product & Technology
Beike Product & Technology
Aug 31, 2018 · Frontend Development

Resolving Hot Refresh and Hot Module Replacement Issues in Webpack 4

This article explains why Webpack‑dev‑server's hot refresh failed in a mixed JS‑Node‑PHP project, analyses the underlying host‑checking logic, and provides step‑by‑step configuration changes—including whitelist adjustments, CORS handling, and proper HotModuleReplacementPlugin usage—to achieve reliable hot reload and hot module replacement.

CORSProxydev server
0 likes · 13 min read
Resolving Hot Refresh and Hot Module Replacement Issues in Webpack 4