{"library":"rollup-plugin-postcss-umi","title":"rollup-plugin-postcss-umi","description":"Seamlessly integrates PostCSS with Rollup. Version 2.0.3 supports Rollup 1.0+ and processes CSS, SASS, Stylus, and Less files. It injects CSS into <head> by default, supports CSS modules, and can extract CSS to file. Differentiators include local PostCSS config auto-detection and node_modules resolution for Sass imports. Released with monthly cadence, maintained by egoist. ESM-only import.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-postcss-umi"],"cli":null},"imports":["import postcss from 'rollup-plugin-postcss-umi'","const postcss = require('rollup-plugin-postcss-umi').default","import postcss from 'rollup-plugin-postcss-umi'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport postcss from 'rollup-plugin-postcss-umi';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'cjs'\n  },\n  plugins: [\n    postcss({\n      plugins: [],\n      // Enable CSS modules for .module.css files\n      autoModules: true,\n      // Extract CSS to separate file\n      extract: true\n    })\n  ]\n};","lang":"javascript","description":"Basic Rollup config integrating PostCSS with extraction and CSS modules auto-detection.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}