magnet-plugin-sass

2.1.1 • Public • Published

magnet-plugin-sass

Build Status

A magnet plugin for compiling your sass stylesheets.

Usage

Add the following to your magnet.config.js:

/**
 * Stylesheet should be served from '/css/index.css'
 */
module.exports = {
  magnet: {
    plugins: [
      'function',
      'controller',
      'sass'
    ],
    pluginsConfig: {
      sass: {
        src: 'src/stylesheets/index.scss'
      }
    }
  }
};

All options in the sass config will also be passed to node-sass.

Dependents (0)

Package Sidebar

Install

npm i magnet-plugin-sass

Weekly Downloads

6

Version

2.1.1

License

MIT

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • mthadley