@roots/bud-postcss
Overview
Use PostCSS in Bud projects.
Installation
yarn add @roots/bud-postcss --dev
Default plugins
- postcss-flexbugs-fixes
- postcss-preset-env
- autoprefixer
- postcss-nested
Configuring
Configure directly:
bud.build.items.merge('postcss.options.postcssOptions.plugins', [
Plugin,
pluginOptions,
])
Add a postcss plugin:
bud.postPlugin(MyPlugin, {plugin: 'options'})
Supply a custom presetEnv configuration:
bud.presetEnv({
autoprefixer: {
flexbox: 'no-2009',
},
})
Contributing
Contributions are welcome from everyone.
We have contributing guidelines to help you get started.
Help support our open-source development efforts by becoming a patron.
Keep track of development and community news.