Tag

Rollup

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 18, 2025 · Frontend Development

Optimizing Micro‑Frontend Applications with Dependency Sharing and CDN Externalization

This article explains how to reduce bundle size and improve load speed of large micro‑frontend projects by sharing common dependencies through CDN externalization, using tools such as qiankun, vite‑plugin‑cdn‑import, and Rollup plugins for HTML generation.

Rollupcdndependency sharing
0 likes · 9 min read
Optimizing Micro‑Frontend Applications with Dependency Sharing and CDN Externalization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 20, 2024 · Frontend Development

Comparing Rollup and Webpack for Component Library Bundling and CSS Handling

This article compares Rollup and Webpack for bundling JavaScript component libraries, demonstrates how to configure each tool for ESM, CJS, and UMD outputs, shows CSS extraction with plugins versus loaders, and explains why Rollup is preferred for library builds and how Vite leverages it.

RollupWebpackbundling
0 likes · 10 min read
Comparing Rollup and Webpack for Component Library Bundling and CSS Handling
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 30, 2024 · Frontend Development

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

This article explains how Vite achieves fast development by serving ES modules directly, using a connect‑based dev server with plugin‑driven transforms, pre‑bundling dependencies via esbuild, generating hash‑based cache keys, and reusing the same plugins in Rollup for production builds.

Dev ServerHot Module ReplacementJavaScript
0 likes · 9 min read
Understanding Vite’s Development Server Architecture and Pre‑bundling Mechanism
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 2, 2024 · Frontend Development

Understanding Vite’s Development Server, Plugin System, and Pre‑Bundling Mechanism

This article explains how Vite speeds up frontend development by serving unbundled ES modules, using a plugin‑based transform pipeline, performing on‑the‑fly compilation, pre‑bundling dependencies with esbuild, and finally leveraging Rollup for production builds while maintaining consistent behavior across dev and prod environments.

Build ToolsESMHot Module Replacement
0 likes · 9 min read
Understanding Vite’s Development Server, Plugin System, and Pre‑Bundling Mechanism
HomeTech
HomeTech
Oct 27, 2023 · Frontend Development

Design and Implementation of a Frontend Business Component Library (ZjDesign)

This article explains why and how to build a reusable business component library for frontend teams, compares single‑package and multi‑package architectures, details the build process using webpack and Rollup, describes version‑control strategies, outlines a SOP for component development, and provides practical code examples.

MonorepoRollupSOP
0 likes · 15 min read
Design and Implementation of a Frontend Business Component Library (ZjDesign)
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 2, 2023 · Frontend Development

Evolution, Core Principles, and Comparison of Frontend Build Tools

This article explores the history, underlying mechanisms, and practical comparisons of frontend build tools—from early YUI and Ant scripts through AMD/CMD, Grunt/Gulp, Webpack, Rollup, esbuild, and Vite—illustrating how they transform development code into optimized production assets and addressing common performance and configuration challenges.

Build ToolsRollupWebpack
0 likes · 24 min read
Evolution, Core Principles, and Comparison of Frontend Build Tools
ByteFE
ByteFE
Mar 1, 2023 · Frontend Development

Evolution, Core Principles, and Comparison of Frontend Build Tools

This article explores the evolution, core principles, and comparative analysis of frontend build tools—from early YUI/Ant and AMD/CMD to modern solutions like Webpack, Rollup, esbuild, and Vite—detailing their functionalities, implementations, performance considerations, and common challenges for developers.

Build ToolsModule BundlingRollup
0 likes · 25 min read
Evolution, Core Principles, and Comparison of Frontend Build Tools
HelloTech
HelloTech
Feb 28, 2023 · Frontend Development

Design and Implementation of a Taro Component Library with Integrated Documentation and Demo

The article describes building a Taro component library whose components, documentation and live demos are generated from a single Markdown source, using Rollup‑built ES modules, a Vite‑based static site, a custom webpack markdown loader, and an isolated H5 demo project to ensure maintainable, reusable code and synchronized documentation.

Front-End DevelopmentRollupTaro
0 likes · 10 min read
Design and Implementation of a Taro Component Library with Integrated Documentation and Demo
JD Tech
JD Tech
Jan 4, 2023 · Big Data

Implementing Data Cubes in Hive Using WITH CUBE, GROUPING SETS, and WITH ROLLUP

This article demonstrates how to build multi‑dimensional data cubes on JD's big‑data platform using Hive, comparing UNION ALL with the more concise WITH CUBE, GROUPING SETS, and WITH ROLLUP functions, and discusses practical pitfalls and optimization tips.

Big DataData CubeGROUPING SETS
0 likes · 10 min read
Implementing Data Cubes in Hive Using WITH CUBE, GROUPING SETS, and WITH ROLLUP
政采云技术
政采云技术
Nov 22, 2022 · Frontend Development

Understanding Tree‑shaking in Rollup and Webpack: Mechanisms, Configurations, and Comparison

This article explains the purpose and ES6‑module basis of tree‑shaking, compares the implementation details of Rollup and Webpack, provides configuration and code examples, and shows real‑world bundle size and build‑time results to help developers choose the right bundler for optimal output.

ES6 ModulesRollupWebpack
0 likes · 14 min read
Understanding Tree‑shaking in Rollup and Webpack: Mechanisms, Configurations, and Comparison
ByteDance ADFE Team
ByteDance ADFE Team
Feb 14, 2022 · Frontend Development

Vite Introduction: Features, Core Principles, and Plugin System

This article provides a comprehensive overview of Vite, covering its definition, advantages over traditional bundlers like Webpack and Snowpack, the underlying ESM‑based development server, hot‑module replacement mechanisms, esbuild pre‑bundling, Rollup integration, plugin architecture, and a balanced summary of its strengths and limitations.

ESMHMRRollup
0 likes · 19 min read
Vite Introduction: Features, Core Principles, and Plugin System
ByteDance ADFE Team
ByteDance ADFE Team
Jan 12, 2022 · Frontend Development

Designing and Publishing Module Packages in a Monorepo: Best Practices for Shared Config, UI Libraries, and Native Modules

This article explains how to design, build, and publish reusable module packages—including shared configuration libraries, UI component libraries, and native language modules—within a monorepo, covering package.json configuration, multiple entry formats (ESM, CJS, UMD), tooling choices, and publishing workflows for both frontend and Node.js projects.

Module DesignMonorepoNode.js
0 likes · 19 min read
Designing and Publishing Module Packages in a Monorepo: Best Practices for Shared Config, UI Libraries, and Native Modules
ByteDance Web Infra
ByteDance Web Infra
May 22, 2021 · Frontend Development

Understanding Vite: ESM‑Based Dev Server, HMR, Pre‑Bundling, and Rollup Integration

This article explains how Vite improves development experience over traditional bundlers by leveraging native ESM support for a fast dev server, efficient hot‑module replacement, pre‑bundling of Node modules, and seamless integration with Rollup plugins for production builds and SSR.

Dev ServerESMHMR
0 likes · 12 min read
Understanding Vite: ESM‑Based Dev Server, HMR, Pre‑Bundling, and Rollup Integration
ByteDance ADFE Team
ByteDance ADFE Team
May 8, 2021 · Frontend Development

What Is Vite? A Fast Frontend Build Tool and Its Comparison with Webpack

Vite is a native ES Module‑driven frontend build tool that offers lightning‑fast cold starts, instant hot module replacement, and on‑demand compilation by eliminating bundle steps during development, while still using Rollup for production builds, providing a performance‑focused alternative to Webpack.

ES ModuleHot Module ReplacementRollup
0 likes · 11 min read
What Is Vite? A Fast Frontend Build Tool and Its Comparison with Webpack
ByteDance Web Infra
ByteDance Web Infra
Apr 30, 2021 · Frontend Development

Publish, Ship, and Install Modern JavaScript for Faster Applications

The article explains why adopting modern JavaScript (ES2017) and publishing packages with the new exports field, combined with proper bundler configurations such as Webpack or Rollup, dramatically reduces bundle size and improves performance while still supporting legacy browsers when needed.

ES2017RollupWebpack
0 likes · 13 min read
Publish, Ship, and Install Modern JavaScript for Faster Applications
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Jan 29, 2021 · Frontend Development

Why Rollup Beats Webpack for Building a Simple JS Library

This article compares Webpack and Rollup, explains why Rollup’s tree‑shaking and ES6 module support make it better for a lightweight JavaScript utility library, and provides a step‑by‑step guide to set up the project with TypeScript, ESLint, Prettier, Husky, Commitlint and Jest testing.

ESLintJavaScriptJest
0 likes · 14 min read
Why Rollup Beats Webpack for Building a Simple JS Library
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 10, 2020 · Databases

Using MySQL 8.0 GROUPING() Function with GROUP BY WITH ROLLUP

This article explains MySQL 8.0's new GROUPING() function, demonstrates how it works with GROUP BY ... WITH ROLLUP to differentiate regular NULL values from roll‑up summary rows, and provides multiple SQL examples and usage tips.

DatabaseFunctionsMySQL
0 likes · 12 min read
Using MySQL 8.0 GROUPING() Function with GROUP BY WITH ROLLUP
Qunar Tech Salon
Qunar Tech Salon
Jan 10, 2020 · Frontend Development

Building a TypeScript Utility Library: setDefaults, getProperty, Testing and Multi‑Format Packaging

This article explains how to design and implement a TypeScript utility package with complex type declarations for functions like setDefaults and getProperty, demonstrates unit testing using ts‑mocha and chai, and details the compilation and packaging process for CommonJS, ES modules, type declarations, and UMD bundles using Rollup.

Build ToolsRollupTesting
0 likes · 14 min read
Building a TypeScript Utility Library: setDefaults, getProperty, Testing and Multi‑Format Packaging
Tencent Cloud Developer
Tencent Cloud Developer
Sep 6, 2019 · Frontend Development

Exploration and Practice of Frontend Engineering

The article examines modern frontend engineering by detailing its four‑stage lifecycle—development, testing, deployment, maintenance—and reviewing modularization of JavaScript and CSS, component‑based frameworks and Web Components, code and workflow standardization, automation tools, and a real‑world migration to ES6 modules, Rollup, CSS Modules, Jest, and CI pipelines.

Build ToolsCI/CDCSS Modules
0 likes · 40 min read
Exploration and Practice of Frontend Engineering