Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.24 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.24 KB

npm package node compatility

⚡️🎨 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 add css.postcss: process.cwd(), PostCSS config and it's plugins will be used instead.

Read the docs to learn more about plugin options

Requirements