Tag

loader

1 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.

build optimizationconfigurationfrontend
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 Routerfrontendloader
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.

build processfrontendloader
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 Serverfrontend
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-toolsloaderloader-api
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.

antdicon optimizationloader
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.

BabelJavaScriptSource Maps
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.

Multi‑PageVuebuild
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.jsasync
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.

JavaScriptRule Matchingbuild-tools
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 Resolutionbuild-tool
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 26, 2019 · Frontend Development

Master Multi‑Page Webpack 4 Configuration: From Zero to Production

This tutorial walks through setting up a zero‑configuration Webpack 4 project for multi‑page, multi‑platform applications, covering entry and output settings, dynamic entry generation, loader and plugin configurations, development server setup, and advanced optimization techniques such as code splitting, on‑demand loading, and asset handling.

Multi‑Pagebuildconfiguration
0 likes · 18 min read
Master Multi‑Page Webpack 4 Configuration: From Zero to Production
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.

CSSbuildcustomization
0 likes · 10 min read
Customizing Project Logos and Login Backgrounds with a Webpack Merge Loader
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 2, 2018 · Frontend Development

Boost Web Performance with Loder: A Lightweight Frontend Loader

Loder is a lightweight, declarative web loader that optimizes resource‑task dependencies, enables ultra‑fast app startup, and provides performance tracking, helping developers overcome the limitations of traditional linear loading especially on constrained mobile devices.

JavaScriptfrontendloader
0 likes · 4 min read
Boost Web Performance with Loder: A Lightweight Frontend 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.

JavaScriptNode.jsbuild-tools
0 likes · 14 min read
How to Develop a Custom Webpack Loader: Concepts, Configuration, and Examples
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 20, 2017 · Frontend Development

Master Webpack: Core Concepts, Real-World Scenarios, and Custom Extensions

An in‑depth tutorial explains webpack’s core concepts, build workflow, and practical scenarios—from single‑page apps and code splitting to npm package and server‑side rendering builds—plus guidance on creating custom loaders and plugins, empowering developers to master and extend this essential front‑end bundler.

build-toolsfrontendloader
0 likes · 13 min read
Master Webpack: Core Concepts, Real-World Scenarios, and Custom Extensions
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 18, 2017 · Frontend Development

Mastering Webpack: A Beginner’s Guide to Bundling Vue Projects

This tutorial walks you through installing Node, npm, and nvm, setting up a simple Vue project, using Webpack to bundle JavaScript, CSS, and images with loaders, and demonstrates core commands and configuration steps for beginners.

css-loaderfrontendloader
0 likes · 9 min read
Mastering Webpack: A Beginner’s Guide to Bundling Vue Projects