postcss-shopify
All of Shopify’s preferred PostCSS plugins wrapped up in a single, easy-to-use plugin.
Installation
yarn add --dev postcss-shopify # or, with npm npm i postcss-shopify --save-dev
Features
This plugin wraps around the following PostCSS transformations:
postcss-calc
postcss-flexbugs-fixes
postcss-selector-matches
postcss-will-change
autoprefixer
postcss-discard-comments
Options
This plugin accepts a single option, minimize
. Passing minimize: true
will turn on CSS minification via cssnano.