@vituum/vite-plugin-postcss
v1.1.0
Published
<a href="https://npmjs.com/package/@vituum/vite-plugin-postcss"><img src="https://img.shields.io/npm/v/@vituum/vite-plugin-postcss.svg" alt="npm package"></a> <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@vituum/
Downloads
11,396
Readme
⚡️🎨 VitePostCSS
Adds out of the box support for following PostCSS plugins:
Basic usage
import postcss from '@vituum/vite-plugin-postcss'
export default {
plugins: [
postcss()
]
}
- If you want to add more PostCSS plugins, add them via css.postcss.plugins.
- If you want to use
postcss.config.cjs
addcss.postcss: process.cwd()
, PostCSS config and it's plugins will be used instead.
Read the docs to learn more about plugin options