You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-postcss-sass

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

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

1.0.22
latest
Source
npmnpm
Version published
Weekly downloads
750
2.88%
Maintainers
2
Weekly downloads
 
Created
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

  • 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.js
plugins: [
  {
    resolve: `gatsby-plugin-postcss-sass`,
    options: {
      postCssPlugins: [somePostCssPlugin()],
      precision: 8, // SASS default: 5
    },
  },
];

Keywords

gatsby

FAQs

Package last updated on 17 Jun 2018

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.