esbuild-plugin-module-css
JSON →An ESBuild plugin for handling CSS modules with support for PostCSS and postcss-modules. The current stable version is 0.1.1, released in 2024. It addresses style loss issues when bundling multiple components, a known problem in esbuild-plugin-react18-css. Key differentiators include seamless integration with ESBuild, automatic scoping via CSS modules, and dependency on hash-css-selector for unique class name generation. The plugin requires peer dependencies (hash-css-selector, postcss, postcss-modules). It is part of the Tencent/hel ecosystem and is actively maintained.
Resources
githubgithub.com/Tencent/hel ↗
packageesbuild-plugin-module-css ↗
homepagegithub.com/Tencent/hel#readme ↗