gulp-clean-css
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -1,5 +0,10 @@ | ||
# 2.1.0 (12/07/2016) | ||
# 2.1.2 (12/07/2016) | ||
- bug fix => https://github.com/scniro/gulp-clean-css/issues/17#issuecomment-265446330 | ||
- bug fix => https://github.com/scniro/gulp-clean-css/issues/8 | ||
- test gulp-sass friendliness per #18 | ||
# 2.1.1 (12/07/2016) | ||
- bug fix => https://github.com/scniro/gulp-clean-css/issues/17 | ||
# 2.1.0 (12/06/2016) | ||
@@ -6,0 +11,0 @@ |
11
index.js
@@ -7,2 +7,3 @@ const applySourceMap = require('vinyl-sourcemaps-apply'); | ||
const through = require('through2'); | ||
const concat = require('gulp-concat'); | ||
@@ -34,8 +35,8 @@ module.exports = function gulpCleanCSS(options, callback) { | ||
if (file.path) { | ||
cssFile = {}; | ||
cssFile[file.path] = {styles: style}; | ||
} | ||
//if (file.path) { | ||
// cssFile = {}; | ||
// cssFile[file.path] = {styles: style}; | ||
//} | ||
new CleanCSS(fileOptions).minify(cssFile || style, function (errors, css) { | ||
new CleanCSS(fileOptions).minify(style, function (errors, css) { | ||
@@ -42,0 +43,0 @@ if (errors) |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/scniro/gulp-clean-css#readme", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": "scniro", | ||
@@ -49,2 +49,3 @@ "license": "MIT", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-sass": "^2.3.2", | ||
"gulp-sourcemaps": "^1.9.1", | ||
@@ -51,0 +52,0 @@ "mocha": "^3.2.0", |
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
9576
55
15