Handle @import during CSS minification.

This meant plumbing a callback through to `compressCSS()`, which meant that
I had to alter the innards of `getFileCompressed()`. I tried to	leave that
function looking more understandable than when I found it; for example,	I
flattened out the nested `if`.

I went ahead and upgraded the version of `clean-css` while I was in the
territory.
This commit is contained in:
Dan Bornstein 2016-09-09 12:32:24 -07:00
parent 7dd252f763
commit a5a7ebea3d
2 changed files with 31 additions and 24 deletions

View file

@ -22,7 +22,7 @@
"express-session" : "1.13.0",
"cookie-parser" : "1.3.4",
"async" : "0.9.0",
"clean-css" : "3.4.12",
"clean-css" : "3.4.19",
"uglify-js" : "2.6.2",
"formidable" : "1.0.17",
"log4js" : "0.6.35",