Skip to content

sigh plugin for compiling scss files with node-sass, uses the process pool.

Notifications You must be signed in to change notification settings

sighjs/sigh-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sigh-sass

build status

Compiles css files with node-sass. The sass compilers run in the sigh process pool to take advantage of multiple CPUs/cores.

Example

npm install --save node-sass sigh-sass then add this to your sigh.js:

var sass, glob, write

module.exports = function(pipelines) {
  pipelines['build:source'] = [
    glob({ basePath: 'src' }, '**/*.scss'),
    sass(),
    write('build/assets'),
  ]
}

You can pass an object containing node-sass options as the first parameter to sass.

TODO

  • Write more tests

About

sigh plugin for compiling scss files with node-sass, uses the process pool.

Resources

Stars

Watchers

Forks

Packages

No packages published