Ich versuche, einen Ausgabe-Namen der CSS-Datei aus meinem grunt-contrib-compass-Job anzugeben. Die Standardausgaben und die Datei index.css.Ausgabespezifischer Dateiname der CSS-Datei grunt-contrib-compass
Tatsächliches Ergebnis <% = yeoman.app%>/specialdir/themes/index.css
Gewünschtes Ergebnis <% = yeoman.app%>/specialdir/themes/my-Thema .css
Gruntfile.js
....
compass : {
// specialjob here
specialjob : {
options : {
sassDir : '<%= yeoman.app %>/specialdir/my-theme',
cssDir : '<%= yeoman.app %>/specialdir/themes', // should output into this folder
relativeAssets : false,
assetCacheBuster : false,
raw : 'Sass::Script::Number.precision = 10\n'
},
dist : {
options : {
generatedImagesDir : '<%= yeoman.app %>/specialdir/images/generated'
}
},
server : {
options : {
sourcemap : true
}
}
},
Irgendwelche Ideen?
Ha, das war's! Lächerlich einfach –