From 3e4559378d43209f78adf0abc1fe5c97b8c01899 Mon Sep 17 00:00:00 2001 From: Vladimir Grinenko Date: Sat, 30 Aug 2014 14:08:08 +0400 Subject: [PATCH] Add csswring --- README.md | 2 ++ lib/config.js | 3 ++- package.json | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da94cb5..1e60692 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ * [cssshrink](https://github.com/stoyan/cssshrink) +* [csswring](https://github.com/hail2u/node-csswring) + ## Install ```bash diff --git a/lib/config.js b/lib/config.js index 686d108..f752605 100644 --- a/lib/config.js +++ b/lib/config.js @@ -7,7 +7,8 @@ module.exports = { minimizers: { CSSO: minimize(require('csso'), 'justDoIt'), cleancss: minimize(new require('clean-css')(), 'minify'), - cssshrink: minimize(require('cssshrink'), 'shrink') + cssshrink: minimize(require('cssshrink'), 'shrink'), + csswring: minimize(require('csswring'), 'wring') }, // input and output paths: { diff --git a/package.json b/package.json index d81e686..2a65ba1 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,10 @@ }, "license": "MIT", "dependencies": { - "csso": "1.3.11", "clean-css": "2.2.12", - "cssshrink": "0.0.5" + "csso": "1.3.11", + "cssshrink": "0.0.5", + "csswring": "1.2.3" }, "devDependencies": { "colors": "0.6.2"