A Broccoli plugin that compiles CSS using PostCSS, operating on individual files. The current stable version is 5.0.2, which uses PostCSS V8, while version 4 uses PostCSS V7. It requires Node >= 10 and integrates into Broccoli build pipelines. Unlike broader PostCSS plugins for Broccoli, this one focuses on single-file processing, supports both object and function plugin definitions, and includes caching with configurable include/exclude patterns. Maintenance appears minimal.
npm install broccoli-postcss-singleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use broccoli-postcss-single with Brocfile, including plugin configuration and source maps.
Update to v5 and ensure all PostCSS plugins are compatible with V8.
Add cacheInclude: [/.*\.(vue|other)/] to options.
Set cacheInclude: [/.*\.(css|js|config)/] or similar.
Use browserslist configuration instead of passing 'browsers' array.
Provide at least one plugin in the plugins array.
Run 'npm install --save-dev postcss'.
Use 'import compileCSS from "broccoli-postcss-single"' or 'const compileCSS = require("broccoli-postcss-single")'.