brunch/brunch-extensions — Issue #11: Ignore SASS partials
Author: jacobrask
Created: 2012-02-16 23:51:38+00:00
State: open

SASS partials are files with names starting with `_`. They should not be processed by Brunch.

There is often a main SASS file which imports others, for instance both _mixins.scss and _foo.scss. If _foo.scss is processed, it will not have access to _mixins.scss and Brunch throws errors.

Adding something like `return if /\/_/.test path` in the SASS compile method should work.

You can read more about partials at http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#partials