gatsby-plugin-postcss-sass
Provides drop-in support for SASS/SCSS stylesheets chained with postcss plugin support.
Install
npm install --save gatsby-plugin-postcss-sass
How to use
- Include the plugin in your
gatsby-config.js
file. - Write your stylesheets in SASS/SCSS (with your desired postcss featureset) and require/import them
// in gatsby-config.jsplugins: resolve: `gatsby-plugin-postcss-sass` options: postCssPlugins: precision: 8 // SASS default: 5 ;