Skip to content

marcinbunsch/broccoli-sass2scss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-sass2scss

The broccoli-sass2scss plugin transpiles .sass files to .scss files with sass2scss with some syntax updates by j-mcnally.

Installation

npm install --save-dev broccoli-sass2scss

Usage

var sass2scss = require('broccoli-sass2scss')
var sourceTrees = [app, config, 'vendor'].concat(broccoli.bowerTrees());
var appAndDependencies = mergeTrees(sourceTrees, { overwrite: true });
appAndDependencies = sass2scss(appAndDependencies);
var styles = preprocessCss([appAndDependencies], prefix + '/styles', '/assets');

This has only been tested with Ember-Cli but should work with any Broccoli project. It basically add the step/middleware of translating sass files to scss so that libsass can handle them.

About

Sass transpiler to Scss for Broccoli, to use libsass

Resources

License

Stars

Watchers

Forks

Packages

No packages published