# andywer/webpack-blocks

📦 Configure webpack using functional feature blocks.

Repository: https://github.com/andywer/webpack-blocks
Canonical: https://ross.abutalabs.com/products/webpack-blocks
Language: JavaScript
License: MIT
License Family: permissive
Topics: webpack, webpack-blocks, babel, postcss, typescript
Last push: 2026-01-30T17:17:18+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 65, release rhythm 8, longevity 100
- inputs: {"age_days": 3628, "days_push": 215, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2964, forks 91 (observed 2026-08-28T04:07:32.422228+00:00)

## What it is
A JavaScript library providing functional building blocks for composing webpack configurations. It offers ready-made blocks for tools like Babel, PostCSS, Sass, and TypeScript, enabling shareable and declarative webpack setup.

## Use cases
- configure webpack without copy-pasting boilerplate
- share webpack configuration between projects
- set up babel and postcss in one line
- compose webpack config from reusable feature blocks
- simplify webpack config for typescript projects
- manage dev and production webpack settings separately

## When to choose
- you want a cleaner, functional alternative to hand-written webpack config
- you maintain multiple projects sharing similar webpack setup
- you use webpack 4 and want prebuilt blocks for common tools

## When to avoid
- you use webpack 5, which this library does not target
- you prefer Vite, esbuild, or other modern bundlers
- your webpack config is simple enough that blocks add overhead

## Facets
- artifact type: library
- maturity: maintenance
- function: build-tool, configuration-management, developer-tools
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: webpack, functional-configuration, babel, postcss, typescript, javascript, build-tools, nodejs

## Member repositories
- andywer/webpack-blocks (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.422228+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:07.010104+00:00, confidence not recorded.
  - readme: https://github.com/andywer/webpack-blocks (fetched 2026-08-28T04:07:32.422228+00:00, sha 013bd998cbd9)
  - registry_npm: https://registry.npmjs.org/webpack-blocks (fetched 2026-08-29T09:47:31.385676+00:00, sha e398f6034e33)
- Data as of 2026-08-30T08:39:29.467469+00:00.
