Minify css

This commit is contained in:
Vit Brunner
2014-10-29 11:49:33 +01:00
parent a3a70eedd4
commit f8e483d5ef
3 changed files with 15 additions and 3 deletions
+13
View File
@@ -44,6 +44,18 @@ module.exports = (grunt) ->
}
}
cssmin: {
main: {
files: {
'build/min/styles.css': [
'build/bower_components/fontawesome/css/font-awesome.min.css'
'build/bower_components/pure/pure-min.css'
'build/styles/**/*.css'
]
}
}
}
copy: {
main: {
expand: true
@@ -95,6 +107,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-stylus');
+1
View File
@@ -10,6 +10,7 @@
"grunt-contrib-connect": "0.8.x",
"grunt-contrib-watch": "0.6.x",
"grunt-contrib-uglify": "0.6.x",
"grunt-contrib-cssmin": "0.10.x",
"grunt-contrib-copy": "0.7.x",
"grunt-contrib-coffee": "0.12.x",
"grunt-contrib-stylus": "0.20.x",
+1 -3
View File
@@ -4,9 +4,7 @@ html(ng-app="sideBySide")
title Side By Side viewer
meta(charset="utf-8")
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Noticia+Text:400,700,400italic,700italic")
link(rel="stylesheet", type="text/css", href="bower_components/fontawesome/css/font-awesome.min.css")
link(rel="stylesheet", type="text/css", href="bower_components/pure/pure-min.css")
link(rel="stylesheet", type="text/css", href="styles/style.css")
link(rel="stylesheet", type="text/css", href="min/styles.css")
script(src="min/scripts.js")
include includes/body.html.jade