grunt-compass-multiple
grunt-compass-multiple copied to clipboard
sassDir, cssDir not working in options
I have only been able to get grunt-compass-multiple to work if I supply the sassDir and cssDir options in compassMultiple.common.options, and not in compassMultiple.options.
Not sure which of these you need but I am running: compass v1.0.3 grunt -cli v0.1.13 grunt v0.4.5 ruby 2.1.5p273
Gruntfile configuration which does not compile:
compassMultiple: {
options : {
sassDir: skinDir + 'scss',
cssDir: skinDir + 'css',
environment: 'development',
outputStyle: 'nested',
importPath: 'some-path',
relativeAssets: true,
cacheDir: skinDir + 'scss/.sass-cache/',
},
}
Gruntfile configuration which would compile:
compassMultiple: {
options : {
environment: 'development',
outputStyle: 'nested',
importPath: 'some-path',
relativeAssets: true,
cacheDir: skinDir + 'scss/.sass-cache/',
},
common : {
options: {
sassDir: skinDir + 'scss',
cssDir: skinDir + 'css'
}
}
}