Merge pull request #1728 from opdavies/sass-extension

support .sass themes
This commit is contained in:
Hakim El Hattab 2017-01-31 15:49:51 +01:00 committed by GitHub
commit 981a8b98e4

View File

@ -44,7 +44,7 @@ module.exports = function(grunt) {
{ {
expand: true, expand: true,
cwd: 'css/theme/source', cwd: 'css/theme/source',
src: ['*.scss'], src: ['*.sass', '*.scss'],
dest: 'css/theme', dest: 'css/theme',
ext: '.css' ext: '.css'
} }
@ -122,7 +122,12 @@ module.exports = function(grunt) {
tasks: 'js' tasks: 'js'
}, },
theme: { theme: {
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ], files: [
'css/theme/source/*.sass',
'css/theme/source/*.scss',
'css/theme/template/*.sass',
'css/theme/template/*.scss'
],
tasks: 'css-themes' tasks: 'css-themes'
}, },
css: { css: {