# rstacruz/webpack-tricks

Tips and tricks in using Webpack

Repository: https://github.com/rstacruz/webpack-tricks
Canonical: https://ross.abutalabs.com/products/webpack-tricks
License Family: other
Topics: webpack, react, javascript, minification, split
Last push: 2022-01-18T08:57:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3542, "days_push": 1688, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2330, forks 58 (observed 2026-08-28T04:06:37.685202+00:00)

## What it is
A curated catalog of tips and tricks for using the Webpack module bundler, covering topics like minification, code splitting, vendor bundles, and source maps. It is a documentation-style reference targeting Webpack v3 and earlier.

## Use cases
- reduce webpack bundle size
- split app and vendor code in webpack
- configure webpack source maps
- minify javascript with webpack production builds
- output multiple bundles in webpack
- investigate webpack bundle sizes
- make react and lodash bundles smaller

## When to choose
- you are working with Webpack 1-3 and want practical configuration snippets
- you want a quick reference for common Webpack optimization patterns
- you are learning how code splitting and CommonsChunkPlugin work

## When to avoid
- you use Webpack 4 or 5, where many APIs like CommonsChunkPlugin are deprecated
- you need official, up-to-date Webpack documentation
- you need a runnable tool rather than a written guide

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: build-tool, developer-tools
- domain: web-development, frontend, developer-tools, tutorials
- platform: -
- tags: webpack, javascript, bundler, code-splitting, minification, source-maps, react, tips-and-tricks, nodejs

## Member repositories
- rstacruz/webpack-tricks (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.685202+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-30T02:38:06.857187+00:00, confidence not recorded.
  - readme: https://github.com/rstacruz/webpack-tricks (fetched 2026-08-28T04:06:37.685202+00:00, sha 69baa2f8349e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
