Socket
Socket
Sign inDemoInstall

gatsby-spon-scss-postcss

Package Overview
Dependencies
8
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gatsby-spon-scss-postcss

Gatsby plugin to handle scss/sass files


Version published
Maintainers
1
Created

Readme

Source

gatsby-spon-scss-postcss

Based almost entirely on gatsby-plugin-sass

Provides drop-in support for SASS/SCSS stylesheets

Install

npm install --save gatsby-spon-scss-postcss

How to use

  1. Include the plugin in your gatsby-config.js file.
  2. Write your stylesheets in SASS/SCSS and require/import them
// in gatsby-config.js
plugins: [`gatsby-spon-scss-postcss`]
// in gatsby-config.js
plugins: [
	{
		resolve: `gatsby-spon-scss-postcss`,
		options: {
			postCssPlugins: [tailwind('./tailwind.config.js'), autoprefixer()],
			precision: 8
		}
	}
]

Keywords

FAQs

Last updated on 26 Apr 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