Separate: task 'SASS' and create module for 'load-config-grunt'
This commit is contained in:
22
grunt-tasks/sass.js
Normal file
22
grunt-tasks/sass.js
Normal 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'
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user