@garcia-enterprise/gatsby-plugin-sass-resources

4.0.2 • Public • Published

@garcia-enterprise/gatsby-plugin-sass-resources

SASS resources (e.g. variables, mixins etc.) plugin for Gatsby

Install

npm install --save node-sass gatsby-plugin-sass @garcia-enterprise/gatsby-plugin-sass-resources

How to use

  1. Include the plugin in your gatsby-config.js file.
  2. Write your resources stylesheets in SASS/SCSS and include it in the resources list in the options as shown below.
// in gatsby-config.js
plugins: [{
  resolve: `@garcia-enterprise/gatsby-plugin-sass-resources`,
  options: {
    resources: ['./path/to/resources.scss']
  }
}]

Built using sass-resources-loader

Package Sidebar

Install

npm i @garcia-enterprise/gatsby-plugin-sass-resources

Weekly Downloads

33

Version

4.0.2

License

MIT

Unpacked Size

2.2 kB

Total Files

4

Last publish

Collaborators

  • eng618