mirror of https://github.com/ColorlibHQ/AdminLTE
Add notify to grunt
parent
fe617b68ca
commit
92775041a4
|
@ -0,0 +1,13 @@
|
||||||
|
// Notify end of copilation tasks
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
module.exports = function (grunt) {
|
||||||
|
return {
|
||||||
|
watch: {
|
||||||
|
options: {
|
||||||
|
title: 'Task Complete', // optional
|
||||||
|
message: 'SASS and Uglify finished running', //required
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
|
@ -6,15 +6,20 @@ module.exports = function (grunt) {
|
||||||
return {
|
return {
|
||||||
development: {
|
development: {
|
||||||
options: {
|
options: {
|
||||||
style: 'expanded'
|
precision: 6,
|
||||||
|
sourceComments: false,
|
||||||
|
sourceMap: true,
|
||||||
|
outputStyle: 'expanded'
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'dist/css/AdminLTE.css': 'build/scss/AdminLTE.scss'
|
'dist/css/adminlte.css': 'build/scss/AdminLTE.scss'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
options: {
|
options: {
|
||||||
style: 'compressed'
|
sourceComments: false,
|
||||||
|
sourceMap: true,
|
||||||
|
outputStyle: 'compressed'
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'dist/css/adminlte.min.css': 'build/scss/AdminLTE.scss'
|
'dist/css/adminlte.min.css': 'build/scss/AdminLTE.scss'
|
||||||
|
|
Loading…
Reference in New Issue