Commit 69d3ff1e authored by Maxime Chaillet's avatar Maxime Chaillet

use grunt-contrib-cssmin instead of grunt-css to support mimification of several css files

parent 414dc007
......@@ -44,8 +44,9 @@ module.exports = function(grunt) {
cssmin: {
prod: {
src: 'css/*.css',
dest: 'min/output.min.css'
files: {
'min/output.min.css' : ['css/*.css' , 'bower_components/bootstrap/dist/css/bootstrap.css' ],
}
}
},
......@@ -75,7 +76,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-wiredep');
grunt.loadNpmTasks('grunt-dustjs');
grunt.loadNpmTasks('grunt-css');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-include-source');
grunt.registerTask('default', ['jshint', 'dustjs', 'uglify', 'cssmin']);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,13 +8,13 @@
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-uglify": "^3.2.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-css": "^0.5.4",
"grunt-dust": "^0.9.4",
"grunt-dustjs": "^1.4.0",
"grunt-wiredep": "^3.0.1"
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-cssmin": "^2.2.1",
"grunt-contrib-jshint": "^1.1.0",
"grunt-include-source": "^1.1.0"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment