Tag

loader

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 17, 2023 · Frontend Development

Comprehensive Guide to Webpack: Core Concepts, Configuration, and Essential Plugins

This article provides an in‑depth overview of Webpack, covering its core concepts, entry and output settings, loaders, plugins, mode configurations, source‑map options, browser compatibility, and performance optimizations for both development and production environments.

Webpackbuild optimizationconfiguration
0 likes · 21 min read
Comprehensive Guide to Webpack: Core Concepts, Configuration, and Essential Plugins
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Aug 15, 2023 · Frontend Development

Understanding React Router v6: Route Order, Nesting, Loaders, and Permissions

This article compares React Router v5 and v6, highlighting v6’s new Routes component, simplified nesting, loader functions for pre‑render data fetching, error handling, permission checks, and integration with defer and Suspense, providing code examples and practical migration insights for frontend developers.

React RouterRoutingfrontend
0 likes · 18 min read
Understanding React Router v6: Route Order, Nesting, Loaders, and Permissions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 18, 2022 · Frontend Development

Deep Dive into Webpack Core Workflow, Loader/Plugin Execution Order, and Optimization Strategies

This article explores Webpack's core build process—from startup and compilation to module handling and asset emission—clarifies the execution sequence of loaders versus plugins, explains loader chaining mechanics, and discusses practical optimization techniques for improving build speed and bundle size.

OptimizationWebpackbuild process
0 likes · 11 min read
Deep Dive into Webpack Core Workflow, Loader/Plugin Execution Order, and Optimization Strategies
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 ServerOptimization
0 likes · 15 min read
Comprehensive Guide to Webpack: Core Concepts, Configuration, Loaders, and Optimization
ByteFE
ByteFE
Apr 12, 2021 · Frontend Development

Understanding Webpack Loaders: Types, Configuration, Execution Order, and API

This article explains what Webpack loaders are, their four classification types (pre, normal, inline, post), how to configure them with enforce, the inline loader prefixes, execution priority, the loader call chain, synchronous vs asynchronous handling, parameters, output, caching, and useful loader development tools.

Build ToolsWebpackloader
0 likes · 13 min read
Understanding Webpack Loaders: Types, Configuration, Execution Order, and API
ByteFE
ByteFE
Mar 8, 2021 · Frontend Development

Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders

This article explains the internal workflow of vue-loader, detailing how it separates style, script, template, and custom blocks in Vue single‑file components, injects a pitcher loader, clones webpack rules, and leverages resourceQuery to reuse user‑defined loaders such as less‑loader or babel‑loader.

JavaScriptSFCVue
0 likes · 17 min read
Understanding How vue-loader Processes Vue SFC Files and Reuses Other Loaders
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.

ReactWebpackantd
0 likes · 9 min read
Antd Icon Reduce Plugin: Design, Implementation, and Usage for Reducing Bundle Size
Beike Product & Technology
Beike Product & Technology
Jul 2, 2020 · Frontend Development

Developing Custom Webpack Loaders: del‑log‑loader and transform‑loader

This article explains step‑by‑step how to create, configure, and use custom synchronous and asynchronous Webpack loaders—including a console‑log remover and an ES6‑to‑ES5 transformer—covering project setup, loader implementation, options validation, source‑map generation, and loader resolution.

BabelBuild ToolsJavaScript
0 likes · 9 min read
Developing Custom Webpack Loaders: del‑log‑loader and transform‑loader
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.

VueWebpackbuild
0 likes · 20 min read
Webpack Multi-Page Project Build Practice
Didi Tech
Didi Tech
Aug 24, 2019 · Frontend Development

Webpack Loader Execution Process: Detailed Source Code Analysis

The article details Webpack’s loader execution pipeline, showing how a shared loaderContext is built for each module, how the loader‑runner pitches loaders in order, then processes the resource and runs each loader’s normal method from right to left, handling synchronous, Promise‑based, and async callbacks via runSyncOrAsync.

JavaScriptNode.jsWebpack
0 likes · 14 min read
Webpack Loader Execution Process: Detailed Source Code Analysis
Didi Tech
Didi Tech
Aug 17, 2019 · Frontend Development

Webpack Loader Configuration and Matching Rules – Detailed Explanation

The article explains Webpack loader configuration by detailing rule definitions, inline loader syntax, the symbols that control loader inclusion, the internal parsing and matching process that groups pre, normal, and post loaders, and practical tips for ordering and debugging complex builds.

Build ToolsJavaScriptRule Matching
0 likes · 9 min read
Webpack Loader Configuration and Matching Rules – Detailed Explanation
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.

JavaScriptModule ResolutionOptimization
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
Didi Tech
Didi Tech
Apr 4, 2019 · Frontend Development

Customizing Project Logos and Login Backgrounds with a Webpack Merge Loader

The article explains how to replace manual client‑specific logo and login‑background swaps with a custom Webpack merge‑less loader that injects client assets during build, offering low intrusiveness, strong extensibility, richer styling options, and a smoother developer experience compared to simple copy scripts.

CSSFront-endWebpack
0 likes · 10 min read
Customizing Project Logos and Login Backgrounds with a Webpack Merge Loader
Hujiang Technology
Hujiang Technology
Jan 24, 2018 · Frontend Development

How to Develop a Custom Webpack Loader: Concepts, Configuration, and Examples

This article explains what a Webpack loader is, how it works, how to configure single or multiple loaders in webpack.config.js, best‑practice guidelines, and provides a complete example of an html‑minify loader with both synchronous and asynchronous implementations.

Build ToolsJavaScriptNode.js
0 likes · 14 min read
How to Develop a Custom Webpack Loader: Concepts, Configuration, and Examples