babel-plugin-template-css-minifier
JSON →A Babel plugin (v1.0.0) that minifies CSS code embedded in template literals at build time. It identifies template literals prefixed with a `/* css */` comment and applies CSS minification using an internal minifier. Minimal configuration: just add to Babel plugins list. Different from runtime CSS-in-JS solutions, this operates at compile time with zero runtime overhead. Requires Node >=12 and a Babel environment. No updates since initial release — considered stable but low maintenance.