{"library":"babel-plugin-transform-postcss","type":"library","category":null,"description":"A Babel plugin that transforms CSS imports by processing them through PostCSS, enabling CSS Modules to generate JavaScript objects mapping class names to hashed strings. At version 0.3.0, it supports both synchronous and asynchronous PostCSS plugins and uses postcss-load-config for configuration. Unlike alternatives like css-modules-transform or css-modules-require-hook, it works with any PostCSS plugin and integrates with babelify for Browserify. It does not include CSS in the output; separate CSS extraction is required. Active development appears stalled, with no major releases since 2018, and it depends on PostCSS v6.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","postcss","postcss-modules","babel","babel-transform","css-modules"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-postcss","imports":["import postcssTransform from 'babel-plugin-transform-postcss'"]},{"cmd":"yarn add babel-plugin-transform-postcss","imports":[]},{"cmd":"pnpm add babel-plugin-transform-postcss","imports":[]}],"homepage":null,"github":"https://github.com/wbyoung/babel-plugin-transform-postcss","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-postcss","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-postcss/compatibility"}}