diff --git a/build/grunt/notify.js b/build/grunt/notify.js new file mode 100644 index 000000000..e5dd94693 --- /dev/null +++ b/build/grunt/notify.js @@ -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 + } + } + }; +}; diff --git a/build/grunt/sass.js b/build/grunt/sass.js index 6188c7b7c..ac83aa797 100644 --- a/build/grunt/sass.js +++ b/build/grunt/sass.js @@ -6,15 +6,20 @@ module.exports = function (grunt) { return { development: { options: { - style: 'expanded' + precision: 6, + sourceComments: false, + sourceMap: true, + outputStyle: 'expanded' }, files: { - 'dist/css/AdminLTE.css': 'build/scss/AdminLTE.scss' + 'dist/css/adminlte.css': 'build/scss/AdminLTE.scss' } }, production: { options: { - style: 'compressed' + sourceComments: false, + sourceMap: true, + outputStyle: 'compressed' }, files: { 'dist/css/adminlte.min.css': 'build/scss/AdminLTE.scss'