gulp-clean-css
Advanced tools
Comparing version 3.2.0 to 3.3.0
12
index.js
@@ -29,10 +29,8 @@ 'use strict'; | ||
if (options.rebaseTo) { | ||
let style = { | ||
[file.path]: { | ||
styles: file.contents ? file.contents.toString() : '' | ||
} | ||
}; | ||
let relative = path.resolve(file.path, options.rebaseTo); | ||
options.rebaseTo = path.relative(relative, file.path) | ||
} | ||
let style = file.contents ? file.contents.toString() : ''; | ||
new CleanCSS(options).minify(style, function (errors, css) { | ||
@@ -39,0 +37,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/scniro/gulp-clean-css#readme", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"author": "scniro", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"clean-css": "4.1.1", | ||
"clean-css": "4.1.2", | ||
"gulp-util": "3.0.8", | ||
@@ -52,3 +52,3 @@ "through2": "2.0.3", | ||
"gulp-sourcemaps": "2.6.0", | ||
"mocha": "3.3.0", | ||
"mocha": "3.4.1", | ||
"vinyl": "2.0.2", | ||
@@ -55,0 +55,0 @@ "vinyl-buffer": "1.0.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
7633
+ Addedclean-css@4.1.2(transitive)
- Removedclean-css@4.1.1(transitive)
Updatedclean-css@4.1.2