mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-11 12:44:22 +08:00
Minify css
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user