category: packages
ui-postcss-config
A shared postcss config made by Instructure Inc.
Installation
yarn add @instructure/ui-postcss-config
Usage
In your PostCSS config file:
/* postcss.config.js */
module.exports = require('@instructure/ui-postcss-config')({
before: {
plugin: 'postcss-nested',
insert: [
[require.resolve('postcss-input-range')]
]
},
nesting: false // Set to true to use postcss-nesting instead of postcss-nested, defaults to false
})