cartodb-4.42/lib/assets/javascripts/cdb/grunt/tasks/compass.js

35 lines
829 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
/**
* Compass grunt task for CartoDB.js
*
*/
module.exports = {
task: function() {
return {
options: {
bundleExec: true,
sassDir: '<%= config.app %>/_scss',
cssDir: '<%= config.app %>/css',
imagesDir: '<%= config.app %>/img',
javascriptsDir: '<%= config.app %>/js',
relativeAssets: false,
httpImagesPath: '/img',
httpGeneratedImagesPath: '/img/generated',
outputStyle: 'expanded',
raw: 'extensions_dir = "<%= config.app %>/_bower_components"\n'
},
dist: {
options: {
generatedImagesDir: '<%= config.dist %>/<%= config.app %>/img/generated'
}
},
server: {
options: {
debugInfo: true,
generatedImagesDir: '.tmp/img/generated'
}
}
}
}
}