Open jonespen opened 10 years ago
I'm not familiar with compass. Have you tried renaming your file to compass.sass? I know the two are processed slightly differently.
Do you know if compass requires a certain version of SASS?
Compass is a popular framework for Sass that add a lot of useful helpers (like image spriting). It is installed as a ruby gem, and imported with the @import "compass";
command. I haven't found out what version of SASS Compass requires, but from the changelog it looks like it need at least SASS 3.1.
System.Web.Optimization has it's own package for it, called Web.Optimization.Bundles.Compass.
Hmm, ok. We use the "sass in one" file lifted from @xpaulbettsx's SassAndCoffee repo (https://github.com/xpaulbettsx/SassAndCoffee/blob/master/SassAndCoffee.Ruby/Sass/lib/sass_in_one.rb) and I'm not sure what version it is.
I will see if I can figure something out before the next release.
Compass attempts to monkey-patch Sass, which is why it's hard to get it to work as I recall.
Ah, the plot thickens.
I guess that could probably explain why the package linked above relies on Ruby being installed, instead of using IronRuby.
There is a new libsass-based version of SquishIt.Sass out that might fix your problem. I can't find anything definitive on whether compass works with libsass in 2 minutes of searching but I am pretty out of touch in that area.
Importing compass throws an error:
Bundle code:
compass.scss
Is compass supported? Or am I doing something wrong? Regular .scss files work.