Separate: task 'SASS' and create module for 'load-config-grunt'

pull/1082/head
Arno Roldao Junior 2016-06-23 10:25:16 -03:00
parent 561ea68955
commit 5ba76d1270
1 changed files with 22 additions and 0 deletions

22
grunt-tasks/sass.js Normal file
View File

@ -0,0 +1,22 @@
'use strict';
module.exports = function (grunt) {
return {
development: {
options: {
style: 'expanded'
},
files: {
'dist/tmp/AdminLTE.css': 'build/scss/AdminLTE.scss'
}
},
production: {
options: {
style: 'compressed'
},
files: {
'dist/tmp/AdminLTE.min.css': 'build/scss/AdminLTE.scss'
}
}
};
};