This package has been deprecated

Author message:

You can now add postcss plugins to gatsby-plugin-sass

gatsby-plugin-postcss-sass

1.0.22 • Public • Published

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

  1. Include the plugin in your gatsby-config.js file.
  2. Write your stylesheets in SASS/SCSS (with your desired postcss featureset) and require/import them
// in gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-postcss-sass`,
    options: {
      postCssPlugins: [somePostCssPlugin()],
      precision: 8, // SASS default: 5
    },
  },
];

Versions

Current Tags

Version History

Package Sidebar

Install

npm i gatsby-plugin-postcss-sass

Weekly Downloads

942

Version

1.0.22

License

MIT

Unpacked Size

4.28 kB

Total Files

5

Last publish

Collaborators

  • kylemathews
  • monastic.panic