Rollup plugin for PostCSS integration, adapted for global NPM packages (v1.8.1, active development). Based on rollup-plugin-postcss, it resolves issues with importCwd and global installations. Key differentiator: compatible with globally installed npm packages where peer dependencies may be missing. Uses async await and supports CSS modules, inject, and minimize options.
npm install rollup-plugin-postcss-independedVerified import paths — ran on the pinned version, not inferred.
Rollup configuration using postcss plugin with modules, injection, and minification enabled.
Ensure PostCSS is listed as a local devDependency.
Install PostCSS locally as a devDependency if using global installs.
Run 'npm install postcss --save-dev'.