Skip to content

Commit

Permalink
Add grunt cssmin task
Browse files Browse the repository at this point in the history
  • Loading branch information
mervick committed Mar 18, 2016
1 parent dc556ed commit 8e7aa02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ module.exports = function(grunt) {
}
},
},
cssmin: {
target: {
files: {
'css/emojionearea.min.css': ['css/emojionearea.css']
},
options: {
sourceMap: false
}
}
},
watch: {
admin: {
files: [
Expand All @@ -62,6 +72,7 @@ module.exports = function(grunt) {
});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadTasks("tasks");
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-cssmin": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
Expand Down

0 comments on commit 8e7aa02

Please sign in to comment.