Closed simonexmachina closed 10 years ago
Hm, I believe this basically duplicates the functionality of the first array argument (inputTrees). You can just pass in strings there.
I'd also generally like to avoid letting people bypass the Broccoli tree system - that is, if a plugin reads stuff from the file system, it should always go through a tree, even if it's just a plain string (since it will be auto-watched).
Okay, that's a good point - I did think of that but needed this to work with ember-cli where I don't have control over the input trees from the Brocfile (they're provided from inside ember-cli).
However we now have rudimentary addon support in ember-cli, and I'm going to be publishing ember-cli-sass to add sourceMap support anyway, so I can investigate adding includePaths
support there.
There's perhaps an argument that the includePaths
option is useful in this module for that exact use case, but you're right that it's duplication. I'll let you choose whether to close this issue - I'm happy either way.
[For posterity from our conversation: Seems like this is probably something that should be addressed in ember-cli.]
I'll go ahead and close this.
Great, thanks.
Any issues with this PR? It'd be good to get this merged in.