classnames-minifier
JSON →Webpack plugin that minifies CSS module class names to short alphanumeric tokens (e.g., .header -> .a) to reduce HTML and CSS size by up to 20%, improving FCP. Stable v0.1.8, requires css-loader >=4.0.0. Supports caching between builds, custom prefixes, and reserved names. The minification logic is derived from next-classnames-minifier. Ships TypeScript types. Alternative to css-minimizer-webpack-plugin for CSS modules specifically.
Resources
packagers-classnames-minifier ↗
API endpoints
full doc /v1/registry/rs-classnames-minifier