An ESBuild plugin that integrates PostCSS processing with support for CSS modules. Current version 0.0.7 is stable but infrequently updated. It allows you to apply PostCSS plugins (e.g., Autoprefixer) and CSS modules within the ESBuild bundler, with options for caching, file filtering, and module configuration. Unlike alternatives (e.g., esbuild-plugin-postcss2), this plugin explicitly supports CSS modules and provides a simple API. However, it has not been updated for over three years and may lack compatibility with newer PostCSS or ESBuild versions.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM default import works for TypeScript and modern JavaScript.
The package exports a function as default; named import is incorrect.
Type-only import for TypeScript users when defining options object.
Shows how to configure the plugin with PostCSS plugin (Autoprefixer) and custom CSS modules naming pattern.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.