awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
rollup avatar

rollup/plugins

0
View on GitHub↗
3,750 星标·629 分支·JavaScript·MIT·3 次浏览

Plugins

This is a collection of official extensions for the Rollup bundling process. These plugins serve as module transformers, resolution managers, and bundle optimizers designed to modify how JavaScript modules are processed, resolved, and optimized.

The suite provides specialized capabilities for modern web transpilation, converting TypeScript, JSX, Flow, and GraphQL into compatible JavaScript. It distinguishes itself through extensive non-JavaScript asset integration, allowing the import of JSON, YAML, CSV, and image files as JavaScript modules or data URIs, and providing support for bundling WebAssembly.

Broad capability areas include module resolution management via aliases and dependency mapping, build process orchestration such as generating HTML wrappers and executing bundles in Node, and bundle optimization through minification and the removal of debugging code.

The project also provides standardized utilities to simplify the creation of additional custom bundling extensions.

Features

  • Bundling Pipeline Extensions - Provides a collection of official plugins to extend and customize the Rollup bundling pipeline.
  • JavaScript Module Format Converters - Transforms legacy CommonJS and non-JavaScript formats into standard ES modules for consistent processing.
  • AST-Based Source Transformations - Provides tools for modifying source code by replacing abstract syntax tree nodes during the bundling process.
  • JavaScript AST Transformations - Transforms TypeScript, JSX, and GraphQL into standard JavaScript for cross-environment compatibility.
  • JavaScript Compatibility Transformations - Transforms TypeScript, Flow, and JSX into standard JavaScript to ensure compatibility across different environments.
  • Rollup-Compatible Plugin Integrations - Offers a suite of official plugins for transforming, resolving, and optimizing modules within the Rollup ecosystem.
  • Bundle Size Optimization - Minifies code and removes debugging statements to reduce the final asset size for faster web loading.
  • Module Resolution Aliases - Maps custom identifiers to file system paths to simplify import statements through module resolution aliases.
  • Module Dependency Classification - Locates third-party libraries and manages module path resolution to ensure dependencies are correctly bundled.
  • Module Resolution Algorithms - Locates third-party modules within dependency folders by applying standard resolution algorithms to import statements.
  • Module Resolution Utilities - Provides utilities for mapping import paths to physical files via aliases during the build process.
  • CommonJS-to-ES6 Converters - Transforms CommonJS modules and legacy scripts into standard ES6 modules for consistent processing.
  • Import Map Configurations - Redirects import paths to different file locations using mapping configurations to simplify maintenance.
  • TypeScript Transpilers - Converts modern TypeScript and JavaScript into a compatible version using a high-performance compiler.
  • Import Path Resolution - Maps import strings to physical file locations using patterns and aliases to simplify dependency management.
  • JavaScript Module Resolution - Customizes the module resolution process through aliases and entry point globs to locate files efficiently.
  • JavaScript Optimizers and Minifiers - Reduces JavaScript bundle sizes through minification and the removal of production-irrelevant code.
  • Source-to-JavaScript Transpilers - Integrates a compiler into the build process to convert type-annotated TypeScript code into standard JavaScript.
  • Non-JavaScript Asset Imports - Loads non-JS assets like JSON, YAML, GraphQL, CSV, and images as first-class modules.
  • Babel Transformations - Integrates the Babel compiler to apply JavaScript transformations and polyfills within the build pipeline.
  • Package Import Resolvers - Determines the correct file to load by resolving package entry points defined in exports, imports, or main fields.
  • Source Code Transformation Engines - Converts TypeScript, JavaScript, JSX, and Flow into compatible versions using transformation engines.
  • Source-To-Source Transpilers - Translates modern JavaScript, TypeScript, Flow, and JSX into compatible versions using external compilers.
  • Hook-Based Plugin Systems - Implements a hook-based system allowing plugins to intercept and modify the bundling process at specific lifecycle events.
  • Bundle Optimizers - Optimizes the final bundle size by minifying code and removing debugging statements for production.
  • JavaScript Bundlers - Acts as a comprehensive utility suite for compiling and packaging JavaScript modules for web deployment.
  • Modern Web Syntax Transpilation - Converts modern TypeScript, JSX, and Flow syntax into compatible JavaScript versions for browser execution.
  • Bundled Code Transformations - Applies code transformations to final bundled chunks to handle auto-generated code or target compatibility levels.
  • GraphQL Module Transformation - Transforms GraphQL schema files into modules and supports fragment imports to allow modular definitions.
  • Build Pipeline Orchestration - Orchestrates the build sequence by generating HTML wrappers and integrating linting into the pipeline.
  • Build-Time Code Stripping - Strips debugger statements and logging functions from source code to clean up production builds.
  • Bundle Runtime Execution - Launches generated bundles as child processes and restarts them automatically after every rebuild.
  • Frontend Development Environments - Automates the generation of HTML wrappers and restarts bundles in a runtime environment for active development.
  • Glob Pattern Resolvers - Identifies input files using glob patterns and inclusion rules to automate the selection of entry points.
  • Static Code Linting - Analyzes source code for style violations and programming mistakes using static code linting.
  • Build Tool Integrations - Integrates external tools like linters and system alerts into the build task automation pipeline.
  • Virtual Modules - Serves virtual modules directly from memory to enable the creation of files that do not exist on disk.
  • Bundle Entry Point Combination - Merges multiple source files into one bundle by combining named exports into a single output file.
  • WebAssembly - Imports and bundles binary WebAssembly modules into the final JavaScript output.
  • JSON Module Imports - Transforms JSON data files into modules so their content can be imported directly into source code.
  • Runtime Built-in Module Handling - Identifies native runtime modules to mark them as external or replace them with compatible polyfills.
  • Dynamic Imports - Resolves import statements containing variables to ensure dynamic dependencies are correctly bundled.
  • TypeScript Source Transformers - Executes custom transformation logic during TypeScript compilation to modify generated code or declaration files.
  • String Pattern Replacements - Swaps text patterns with values to inject environment variables and constants during bundling.
  • Binary-to-ESM Encodings - Converts non-text assets like images and WebAssembly into base64 strings or modules for direct bundle inclusion.
  • Virtual Module Injection - Serves synthetic modules directly from memory to register services without requiring physical source files.
  • CommonJS Compatibility - Provides a compatibility layer by replacing CommonJS global variables with equivalents in ES Module bundles.
  • JavaScript Minification - Compresses JavaScript code to reduce bundle size using a minification engine.
  • In-Memory Loading - Serves virtual modules directly from memory, allowing the creation of files that do not exist on the physical disk.
  • Plugin Development Utilities - Provides a set of standardized helper functions to simplify the creation of custom bundling extensions.
  • Code Quality Checks - Runs automated linting checks on entry points and imported files to verify code quality during bundling.
  • WebAssembly Module Loaders - Inlines WebAssembly files as strings and provides a loader function for runtime instantiation.
  • CommonJS Compatibility Layers - Configures the transpilation process to support importing legacy module formats within type-annotated files.
  • HTML Entry Point Generators - Generates HTML files that serve as entry points and link to bundled JavaScript assets.
  • Data File Loaders - Includes loaders that transform JSON, YAML, and CSV files into usable JavaScript objects.

Star 历史

rollup/plugins 的 Star 历史图表rollup/plugins 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Plugins 的开源替代方案

相似的开源项目,按与 Plugins 的功能重合度排序。
  • babel/minifybabel 的头像

    babel/minify

    4,376在 GitHub 上查看↗

    This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove

    JavaScript
    在 GitHub 上查看↗4,376
  • swc-project/swcswc-project 的头像

    swc-project/swc

    33,909在 GitHub 上查看↗

    This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible JavaScript code. It functions as a TypeScript transpiler, a JavaScript minifier, and a JavaScript bundler. The system distinguishes itself through a WebAssembly plugin host that allows the execution of custom transformation rules without modifying the core binary. It also provides specialized compilation for React source code to improve runtime performance and reduce execution overhead. The broader capability surface includes source-to-source compilation, type annotation stri

    Rustbabelcompilerecmascript
    在 GitHub 上查看↗33,909
  • insin/nwbinsin 的头像

    insin/nwb

    5,542在 GitHub 上查看↗

    nwb is a zero-configuration build toolchain, module bundler, and development server for JavaScript and JSX applications and libraries. It functions as a build system that automatically derives compiler and bundler settings from a project's installed dependencies to remove manual setup. The tool is distinguished by its ability to act as a library compiler, generating multiple distribution formats such as ESM and CJS from a single source for package manager compatibility. It also includes a dedicated headless browser test runner that executes unit tests with integrated watch mode and code cover

    JavaScript
    在 GitHub 上查看↗5,542
  • google/closure-compilergoogle 的头像

    google/closure-compiler

    7,663在 GitHub 上查看↗

    This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a compilation pipeline designed to shrink file sizes and improve runtime performance. The system utilizes a multi-pass compilation process to perform dead code elimination, global name mangling, and static type inference. It identifies unreachable functions and unused variables to reduce the final output size and detects potential runtime errors without executing the code. The tool manages assets through dependency resolution, code chunking, and bundle management. It ensures co

    JavaScript
    在 GitHub 上查看↗7,663
查看 Plugins 的所有 30 个替代方案→

常见问题解答

rollup/plugins 是做什么的?

This is a collection of official extensions for the Rollup bundling process. These plugins serve as module transformers, resolution managers, and bundle optimizers designed to modify how JavaScript modules are processed, resolved, and optimized.

rollup/plugins 的主要功能有哪些?

rollup/plugins 的主要功能包括:Bundling Pipeline Extensions, JavaScript Module Format Converters, AST-Based Source Transformations, JavaScript AST Transformations, JavaScript Compatibility Transformations, Rollup-Compatible Plugin Integrations, Bundle Size Optimization, Module Resolution Aliases。

rollup/plugins 有哪些开源替代品?

rollup/plugins 的开源替代品包括: babel/minify — This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It… swc-project/swc — This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible… insin/nwb — nwb is a zero-configuration build toolchain, module bundler, and development server for JavaScript and JSX… google/closure-compiler — This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a… jamiebuilds/babel-handbook — This project is a technical handbook and tutorial guide for the Babel compiler. It serves as a resource for… jaredpalmer/backpack — Backpack is a Node.js build system designed for transpiling, bundling, and automating the development workflow. It…