WeDoctor Frontend Technology
Author

WeDoctor Frontend Technology

Official WeDoctor Group frontend public account, sharing original tech articles, events, job postings, and occasional daily updates from our tech team.

107
Articles
0
Likes
152
Views
0
Comments
Recent Articles

Latest from WeDoctor Frontend Technology

100 recent articles max
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.

JavaScriptWebpackbuild-tools
0 likes · 21 min read
Mastering Webpack: From Custom Loaders to Powerful Plugins
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 16, 2021 · Frontend Development

How Tapable Powers Webpack: Inside the Hook System

This article explains the relationship between Tapable and webpack, detailing how Tapable implements a flexible hook system that powers webpack's plugin architecture, covering core concepts, hook classifications, usage patterns, internal mechanics, and practical examples for building custom webpack plugins.

HookTapable
0 likes · 19 min read
How Tapable Powers Webpack: Inside the Hook System
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.

JavaScriptWebpackdev server
0 likes · 14 min read
Mastering Webpack HMR: From Basics to Custom Module Hot Updates
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 9, 2021 · Frontend Development

How Rollup Packs JavaScript: Inside the Build Process and AST Analysis

This article explains Rollup’s core principles, compares it with Webpack, introduces prerequisite concepts such as magic‑string, AST and scope chains, and walks through the complete build workflow—including parsing, dependency analysis, statement expansion, and final code generation—using concrete code examples and diagrams.

ASTJavaScript bundlingTree Shaking
0 likes · 20 min read
How Rollup Packs JavaScript: Inside the Build Process and AST Analysis
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 ReloadWebpackdev server
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.

DebuggingWebpackbase64 VLQ
0 likes · 28 min read
Unlocking Webpack Source Maps: From Basics to Advanced Configurations
WeDoctor Frontend Technology
WeDoctor Frontend Technology
May 30, 2021 · Frontend Development

How Rollup’s Tree‑Shaking Eliminates Dead Code: A Deep Dive

This article explains the fundamentals and implementation details of Rollup's tree‑shaking feature, showing how unused JavaScript code is identified and removed through static ES6 module analysis, with practical code examples and visual demonstrations of variable, function, and class elimination.

ES6 ModulesJavaScriptRollup
0 likes · 20 min read
How Rollup’s Tree‑Shaking Eliminates Dead Code: A Deep Dive