carto.js/grunt/tasks/scss.js
2020-06-13 18:34:34 +08:00

30 lines
547 B
JavaScript

/**
* SCSS grunt task for CARTO.js
*
*/
module.exports = {
task: function () {
return {
dist: {
options: {
sourceMap: false,
outputStyle: 'compressed',
includePaths: [
'node_modules/cartoassets/src/scss'
]
},
files: [{
expand: true,
src: [
'node_modules/cartoassets/src/scss/entry.scss',
'themes/scss/entry.scss'
],
dest: '.tmp/scss',
ext: '.css'
}]
}
};
}
};