Zero configuration PostCSS plugin for Docz
npm install docz-plugin-postcss
Zero configuration PostCSS plugin for Docz







- Install
- Usage
- Custom configuration
- License
Install docz-plugin-postcss using npm:
```
npm i -D docz-plugin-postcss
Or using Yarn with:
``
yarn add --dev docz-plugin-postcss
Just import the plugin inside your doczrc.js
`ts
import { postCSSPlugin } from 'docz-plugin-postcss';
export default {
plugins: [postCSSPlugin()],
};
`
This project uses PostCSS Preset Env. You can pass a custom configuration according to the PostCSS Preset Env documentation.
Eg.
`ts
import { postCSSPlugin } from 'docz-plugin-postcss';
export default {
plugins: [
postCSSPlugin({
stage: 3,
features: {
'nesting-rules': true,
},
}),
],
};
``
MIT License © Andrea SonnY