0.0.13 • Published 1 year ago
@brudi/postcss-config v0.0.13
@brudi/postcss-config
This package provides a shared PostCSS configuration that can be used in AX Next.js applications.
Usage
Install the config package as a dev dependency:
npm install --save-dev @brudi/postcss-config
Create a postcss.config.js
file if it doesn't exist, and import the package.
module.exports = {
...require('@brudi/postcss-config'),
}
CSS Processing
This package configures a standard stack of PostCSS plugins, listed below:
- postcss-flexbugs-fixes
- postcss-normalize
- postcss-preset-env
stage
is set to3
nesting-rules
is set totrue
custom-media-queries
loads in somecustom-properties
is set to false - we polyfill these for ie11 and do not compile them