{"library":"rollup-plugin-postcss-config","title":"rollup-plugin-postcss-config","description":"Transform PostCSS in Rollup using options from a postcss config file (postcss.config.js). v2.0.0 is the latest stable release, last published in 2018. It relies on postcss-load-config to read config files and makes no assumptions about CSS output, requiring a separate plugin (e.g., rollup-plugin-string) to handle the transformed CSS. Key differentiators: minimal integration that delegates plugin configuration to standard PostCSS config files, unlike alternatives like rollup-plugin-postcss which bundle plugins internally. Breaking change in v2.0.0: uses object spread syntax, requiring Node >=8.6.0. No further updates expected.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-postcss-config"],"cli":null},"imports":["import postcss from 'rollup-plugin-postcss-config'","import { postcss } from 'rollup-plugin-postcss-config'","import postcss from 'rollup-plugin-postcss-config'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// postcss.config.js\nmodule.exports = {\n  plugins: {\n    'postcss-import': {},\n    'postcss-cssnext': {},\n    'postcss-reporter': {},\n  },\n};\n\n// rollup.config.js\nimport postcss from 'rollup-plugin-postcss-config';\nimport string from 'rollup-plugin-string';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife',\n    name: 'MyBundle',\n  },\n  plugins: [\n    postcss({\n      include: '*.css',\n      exclude: 'node_modules/**',\n    }),\n    string({\n      include: '*.css',\n      exclude: 'node_modules/**',\n    }),\n  ],\n};","lang":"javascript","description":"Configure PostCSS via postcss.config.js and use rollup-plugin-postcss-config with a string plugin to output CSS as a string.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}