Socket
Socket
Sign inDemoInstall

gatsby-plugin-postcss-sass

Package Overview
Dependencies
5
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gatsby-plugin-postcss-sass

Gatsby plugin to handle scss/sass files with integrated support for also processing with Postcss plugins


Version published
Weekly downloads
988
increased by17.2%
Maintainers
2
Install size
19.4 MB
Created
Weekly downloads
 

Readme

Source

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
    },
  },
];

Keywords

FAQs

Last updated on 17 Jun 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc