Comparing version 0.5.1 to 0.5.2
@@ -45,3 +45,3 @@ /** | ||
cfg.dest = cfg.output = cfg.dest ? path.resolve(path.normalize(cfg.dest)) : ''; | ||
cfg.dest = cfg.output = (cfg.dest || cfg.output) ? path.resolve(cfg.dest) : ''; | ||
@@ -48,0 +48,0 @@ cfg.suffix = cfg.suffix || '.combo'; |
@@ -36,3 +36,3 @@ /** | ||
src: file, | ||
dest: _.isArray(dests) && dests[index] ? dests[index] : dests, | ||
dest: _.isArray(dests) ? (dests[index] || '') : dests, | ||
options: options | ||
@@ -72,3 +72,3 @@ }, cb); | ||
} | ||
var walker = _iterator(src, undefined, options); | ||
var walker = _iterator(src, '', options); | ||
walker(function(item, cb){ | ||
@@ -75,0 +75,0 @@ var c = _.merge(item.options, { |
{ | ||
"name": "css-combo", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "css module combo tool", | ||
@@ -5,0 +5,0 @@ "author": "daxingplay <daxingplay@gmail.com>", |
@@ -70,3 +70,2 @@ var CssCombo = require('../lib/index'), | ||
outputEncoding: 'gbk', | ||
output:path.resolve(__dirname, 'css/test.combo.css'), | ||
compress: 0 | ||
@@ -73,0 +72,0 @@ }, function(e, report){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
658232
2951