cartodb-4.42/lib/build/tasks/sass.js
2024-04-06 05:25:13 +00:00

29 lines
498 B
JavaScript

/**
* Compass task config
*/
exports.task = function () {
return {
options: {
sourceMap: true,
sourceMapEmbed: true,
sourceMapContents: true,
includePaths: [
'node_modules/cartoassets/src/scss'
]
},
dist: {
files: [{
expand: true,
cwd: 'tmp/sass/',
src: [
'**/*.scss',
'!editor/**/*'
],
dest: '<%= editor_assets_dir %>/stylesheets',
ext: '.css'
}]
}
};
};