stefanpenner/ember-cli — pull request #716 by aexmachina (2014-05-14 04:09:18+00:00)
Title: Ability to specify options for CSS preprocessor

I'd like to be able to specify the `includePaths` option for the `broccoli-sass` preprocessor, but it doesn't look like this is supported. There's an `options` argument in `preprocessCss()`, but it's not supported in `EmberApp.prototype.styles()`. This PR adds the `cssOptions` property of `this.options` to the `preprocessCss()` call.

I think it'd make more sense to have a general-purpose mechanism for passing options to broccoli plugins, such as `this.options['broccoli-css']`, but that's outside of the scope of what I'm trying to do.

Usage example is:

```
var app = new EmberApp({
cssOptions: {
includePaths: [
'vendor/foundation/scss'
]
}
...
});
```

One open question is whether this should be added to the blueprint `Brocfile.js`, I've left it out but let me know and I'll add `cssOptions: null`.

Also, I'm not really clear on how to go about writing a test for this. I'd appreciate any suggestions if you think this is worthwhile.