cartodb/lib/build/tasks/sass.js

29 lines
498 B
JavaScript
Raw Normal View History

2020-06-15 10:58:47 +08:00
/**
* 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'
}]
}
};
};