Pattern Library Utilities

sassCompiler

method
exports.sassCompiler()

@param Type Description
cssCompilerData object css compiler data

Compiles our styles using the SASS compiling engine

exports.sassCompiler = function (paths, cssCompilerData) {
  'use strict';

  var result = sass.renderSync({
    file: path.join(paths.folder, cssCompilerData.src)
  });

  return result.css.toString().trim();
};