|
|
@ -126,7 +126,8 @@ module.exports = function(Meta) {
|
|
|
|
|
|
|
|
|
|
|
|
function minify(source, paths, destination, callback) {
|
|
|
|
function minify(source, paths, destination, callback) {
|
|
|
|
less.render(source, {
|
|
|
|
less.render(source, {
|
|
|
|
paths: paths
|
|
|
|
paths: paths,
|
|
|
|
|
|
|
|
compress: true
|
|
|
|
}, function(err, lessOutput) {
|
|
|
|
}, function(err, lessOutput) {
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|
winston.error('[meta/css] Could not minify LESS/CSS: ' + err.message);
|
|
|
|
winston.error('[meta/css] Could not minify LESS/CSS: ' + err.message);
|
|
|
|