A CSS minifier plugin for component/component-builder2. This package integrates clean-css into the component-builder2 pipeline to minify CSS during build. Version 0.0.0 is the only release, with no updates since 2014. It is deprecated as component-builder2 is no longer maintained. The plugin exposes a single function that returns a transform stream, following the builder plugin convention.
npm install builder-clean-cssNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use builder-clean-css as a plugin in component-builder2 to minify CSS during build.
Migrate to a modern build tool like Webpack, Rollup, or Vite with a CSS minifier plugin.
Use require and create custom type declarations if needed.
Always pass 'styles' as the first argument to .use().
Use require('builder-clean-css') with CommonJS.Use .use('styles', cleanCSS()).Install component-builder2: npm install component-builder2.