cartodb/lib/build/tasks/sass.js
2020-06-15 10:58:47 +08: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'
}]
}
};
};