anaisbetts / SassAndCoffee

SassAndCoffee adds support in ASP.NET MVC to (you guessed it!) Sass/SCSS and CoffeeScript
http://blog.paulbetts.org/index.php/2011/06/06/new-release-sassandcoffee-0-9-now-not-glacially-slow/
Microsoft Public License
199 stars 37 forks source link

CoffeeScript compilation seems to use bare mode #27

Closed ScottWeinstein closed 12 years ago

ScottWeinstein commented 12 years ago

It would be nice if there were an option to turn this off

ahjohannessen commented 12 years ago

Second that. It is something that makes me use another alternative if this is not possible.

kogir commented 12 years ago

I'm working on a fix for this. Would the preferred behavior be to default to normal (non-bare), and signal bare with a .bare.js extension?

file.coffee => raw coffee file file.js => compiled js file (not bare) file.bare.js => compiled js (bare)

ahjohannessen commented 12 years ago

I think the preferred behavior should be like the behavior on the coffeescript compiler itself. Default to non-bare mode, just as you stated.

kogir commented 12 years ago

Fixed in version2 branch. Thanks for bringing this up!