thehardwarestore.ai

where AI agents shop for the right tools

── 99215 repos indexed ── | filtered by tag: #webpack-plugin
microsoft/monaco-editor ★ 46812 4137 APPLICATION

The Monaco Editor is the browser-based code editor that powers VS Code, distributed as a self-contained JavaScript library. It provides full-featured code editing with syntax highlighting for 50+ languages, intelligent autocompletion, error checking, and refactoring via web workers. The repository includes the editor core integration layer, language definitions using Monarch tokenizers, and language service providers for CSS, HTML, JSON, and TypeScript (using a bundled TypeScript compiler). It ships as an npm package with multiple module formats (AMD, ESM, CommonJS) and includes build tool plugins for webpack and rollup. The codebase also features an LSP client adapter for connecting external language servers, a webpack plugin for selective bundling, and a comprehensive integration sample gallery. Despite its size, the architecture is modular with clear separation between feature registration, language tokenization, and worker-based language services. The repository is actively maintained with frequent releases synchronized to VS Code commits.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
webpack/minimizer-webpack-plugin ★ 1966 164 APPLICATION

minimizer-webpack-plugin is a production-grade webpack 5 plugin that minifies JavaScript, CSS, HTML, JSON, SVG, and image assets through a single configurable interface. It is the consolidated successor to terser-webpack-plugin, css-minimizer-webpack-plugin, and html-minimizer-webpack-plugin. The plugin hooks into webpack's processAssets, chunkHash, and renderEmbeddedSource pipelines to compress bundle output, compose source maps, extract license comments, generate transformed assets such as image format conversions, and optionally parallelize minification with jest-worker. The implementation is a library/plugin architecture, not a standalone service: src/index.js exposes the plugin class and wiring, src/minify.js orchestrates minification and source-map handling, and src/utils.js contains the built-in minimizer adapters for terser, esbuild, swc, cssnano, sharp, svgo, and many other engines.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
TypeStrong/fork-ts-checker-webpack-plugin ★ 2000 257 APPLICATION

Fork TS Checker Webpack Plugin is a mature, production-grade webpack plugin that offloads TypeScript type checking to a separate process to avoid blocking the webpack build. The architecture is centered around a plugin class that integrates with webpack's compilation lifecycle via tapable hooks. On each compilation, it collects file changes and spawns two types of workers (via child_process RPC): one for computing TypeScript issues (syntactic, semantic, declaration, global diagnostics) and another for computing file dependencies. Workers use a controlled TypeScript system with an in-memory file system (memfs) for artifacts and a passive file system that delegates writes to memory for read-only modes. The plugin supports incremental watching, project references (solution builder), tracing, and various output modes (write-dts, write-tsbuildinfo, write-references). Configuration is flexible via cosmiconfig and validated with JSON schema. The codebase is well-structured with clear separation of concerns: hooks, formatters, issue filtering, RPC infrastructure, and file system abstractions. It includes extensive unit and end-to-end tests covering various TypeScript versions and webpack configurations. The plugin is actively maintained with a robust CI/CD pipeline and semantic release.

RATING: 8.9/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
react-cosmos/react-cosmos ★ 8686 381 APPLICATION

React Cosmos is a component development environment for React. In production it operates as a developer tool running a Node.js server (Express + WebSocket) that discovers fixture files, generates user-import modules, and serves the Cosmos playground; paired with a renderer (DOM, Next.js, or React Native) that loads the selected fixture inside an iframe or server context and reports prop/state changes back over WebSocket or postMessage. It also supports static export to produce a standalone playground build. The repository is a library/CLI tool, not a deployed application. Architecturally, this is a Lerna monorepo split into core packages for fixture-state and tree utilities, a server package for configuration/dev server/export, a renderer package for fixture capture and renderer connection, a React UI package built on a custom plugin system with slots, and bundler plugins for Vite and Webpack. The core workflow is fixture-based: developers write .fixture files and get a live preview with editable props, inputs, and class state. Entry points include bin/cosmos.js, bin/cosmos-export.js, and programmatic APIs such as detectCosmosConfig and getFixtures. Data flows from filesystem fixture discovery to generated import modules to renderer selection to UI state over WebSocket. External dependencies include React, Express, ws, Vite/Webpack, Next.js for server components, and React Native for native support. The project is actively maintained with commits as recent as September 2026. Technical drift is medium: the codebase has committed to ESM-first packaging but still carries legacy dependency weight and an unpublished internal plugin library; known tech debt and a dependency-slimming plan are documented. No data science or research components are present.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
unplugin/unplugin-icons ★ 4934 160 APPLICATION

unplugin-icons is a universal build tool plugin that enables on-demand import of thousands of SVG icons as framework-specific components. It integrates with Vite, Webpack, Rollup, Nuxt, Rspack, and esbuild via the unplugin abstraction. The core architecture consists of a loader that resolves icon paths (e.g., `~icons/mdi/account`), fetches SVG data from Iconify or custom collections, and passes the SVG through a compiler that generates code for Vue 3, React/JSX, Svelte, Solid, Astro, Ember, Qwik, Web Components, or raw SVG strings. Options allow customization of scale, style, class, icon customizer, and auto-install of icon sets. The resolver module enables auto-importing icons as components in Vue/React/Solid projects via unplugin-vue-components or unplugin-auto-import. The codebase is well-structured, with clear separation between build tool adapters, core logic, and compilers. It relies on external dependencies like @iconify/utils for SVG loading and optional peer dependencies for framework-specific compilation.

RATING: 8.6/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
maltsev/htmlnano ★ 296 37 APPLICATION

htmlnano is a modular HTML minifier built on PostHTML, providing a library API, CLI, PostHTML plugin, and webpack integration. It processes HTML through a configurable pipeline of modules (e.g., whitespace collapse, comment removal, CSS/JS/SVG minification) organized into presets (safe, ampSafe, max). The core architecture uses PostHTML's tree walking and a plugin-like module interface where each module can transform attributes, content, or nodes. Optional peer dependencies (cssnano, terser, svgo, etc.) are loaded lazily, and configuration is handled via cosmiconfig. The codebase demonstrates strong engineering with comprehensive test coverage, property-based fuzz testing, and DOM equivalence validation. While primarily a library, it also includes a CLI and webpack adapter, making it a versatile tool for HTML optimization in build pipelines.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
webdiscus/html-bundler-webpack-plugin ★ 203 34 APPLICATION

html-bundler-webpack-plugin is a webpack plugin that processes HTML templates and bundles associated assets (CSS, JS, images, etc.) into output HTML files. It treats HTML as a webpack entry point, resolves dependencies via webpack's module system, and updates asset references to hashed output URLs. The plugin supports multiple template engines (Pug, Handlebars, EJS, Nunjucks, etc.), asset inlining, subresource integrity, hot module replacement, and code splitting. Architecture consists of a main plugin class, loader infrastructure, and modular preprocessors. It integrates with webpack's compilation hooks for asset extraction and HTML modification. Examples demonstrate usage with frameworks like React, Vue, and CSS tools like TailwindCSS.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
webpack/mini-css-extract-plugin ★ 4664 393 APPLICATION

This is a mature, widely-used webpack plugin and loader for extracting CSS into separate files. It provides a custom module type (`CssModule`), dependency (`CssDependency`), and runtime code for loading CSS chunks, including support for async loading, source maps, HMR, CSS modules, and public path customization. The plugin is now deprecated in favor of webpack's native CSS support (`experiments.css`), but remains functional and receives maintenance updates. The codebase demonstrates advanced webpack plugin patterns: custom module factories, hook-based runtime generation, schema validation via `schema-utils`, and a client-side HMR runtime. The test suite is extensive, covering many edge cases with snapshot testing and integration tests across multiple Node versions and operating systems. The architecture is tightly coupled to webpack 5 internals, which limits reusability outside of webpack plugin development, but the patterns (custom modules, boolean matcher, URL normalization) are instructive for other webpack plugin authors.

RATING: 8.1/10 MAINT: maintained DRIFT: medium
▸ 4 reusable components found
addyosmani/webpack-lighthouse-plugin ★ 295 12 APPLICATION

This repository is a Webpack plugin that integrates Google Lighthouse for running performance and quality audits during the build process. After Webpack emits assets, the plugin triggers Lighthouse against a specified URL, collects the report, and optionally saves artifacts like screenshots and traces. The codebase consists of two main parts: a Webpack-specific plugin that taps into the compiler's afterEmit hook, and a reusable Lighthouse runner module that handles Chrome lifecycle management, audit execution, and result processing. The project is explicitly marked as deprecated in the README, advising users to use Lighthouse directly instead.

RATING: 5.6/10 MAINT: deprecated DRIFT: high
▸ 1 reusable components found
── end of results ──
$ submit: