npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

magnet-plugin-sass

2.1.1 • Public • Published

magnet-plugin-sass

BuildStatus

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.

Keywords

install

npm i magnet-plugin-sass

Downloadsweekly downloads

15

version

2.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability