Browse Source

use clean-css to minify main.css

pull/1/head
Brett Langdon 12 years ago
parent
commit
5cc525960a
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      Makefile
  2. +1
    -0
      package.json

+ 1
- 0
Makefile View File

@ -2,6 +2,7 @@ WINTERSMITH = ./node_modules/.bin/wintersmith
ARTICLE_DIR = ./contents/writing/about ARTICLE_DIR = ./contents/writing/about
build: build:
@./node_modules/.bin/cleancss ./contents/css/main.css > ./contents/css/main.min.css
@$(WINTERSMITH) build @$(WINTERSMITH) build
clean: clean:


+ 1
- 0
package.json View File

@ -5,6 +5,7 @@
"main": "", "main": "",
"private": true, "private": true,
"dependencies": { "dependencies": {
"clean-css": "^2.2.2",
"moment": "~2.3.1", "moment": "~2.3.1",
"typogr": "~0.5.2", "typogr": "~0.5.2",
"underscore": "~1.4.4", "underscore": "~1.4.4",


Loading…
Cancel
Save