New High Score shareable config for PostCSS
Install @newhighsco/postcss-config
:
yarn add -D @newhighsco/postcss-config postcss
New High Score PostCSS rules come bundled in @newhighsco/postcss-config
. To enable these rules, add a postcss.config.js
at the root of your project. See the PostCSS configuration docs for more details.
// `postcss.config.js`
module.exports = require('@newhighsco/postcss-config');
// `postcss.config.js`
module.exports = require('@newhighsco/postcss-config/purgecss');