gruntjs / grunt-contrib-compass

Compile Compass to CSS.
http://gruntjs.com/
MIT License
626 stars 128 forks source link

Support Import-once activation from options #236

Closed shali3 closed 9 years ago

shali3 commented 9 years ago

compass supports the compass-import-once gem since version 1.0.0.alpha.16 (12/05/2013).

The only way I was able to apply it with this grunt task was using the raw option:

options: {
    raw: "require 'compass/import-once/activate'"
}

I really think you should add support for this in the native options you provide. Thanks :)

sindresorhus commented 9 years ago

https://github.com/gruntjs/grunt-contrib-compass#require

shali3 commented 9 years ago

Got it. Thanks :) This worked for me:

options: {
    require: 'compass/import-once/activate'
}