0.0.1 • Published 6 years ago

gatsby-spon-scss-postcss v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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