Tag

webpack

0 views collected around this technical thread.

HelloTech
HelloTech
Feb 1, 2024 · Frontend Development

Static Compilation for Multi‑Scene SaaS Car Services Using Webpack Resolve Plugins

The article explains how a custom Webpack resolve plugin enables static compilation for a multi‑scene SaaS car‑service platform by separating brand‑specific logic into suffix‑named files, allowing compile‑time branching, smaller scenario‑specific bundles, cleaner code, easier testing, and faster cold‑starts.

TypeScriptcode splittingfrontend
0 likes · 12 min read
Static Compilation for Multi‑Scene SaaS Car Services Using Webpack Resolve Plugins
Didi Tech
Didi Tech
Aug 2, 2019 · Frontend Development

Understanding Webpack's Resolve Process for Modules and Loaders

Webpack resolves every import by mapping the request string to an exact file path through a configurable chain of resolver plugins for normal modules, node_modules packages, and loaders, and developers can speed up builds by using aliases, limiting module directories, and keeping extensions short.

JavaScriptbuild-toolloader
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
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.

JavaScriptModule Bundlingasync loading
0 likes · 12 min read
Deep Dive into Webpack: Source Code Analysis and Compilation Process