gulp-clean-css
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,3 +8,5 @@ 'use strict'; | ||
module.exports = function() { | ||
module.exports = function(opt) { | ||
if (!opt) opt = {}; | ||
@@ -26,3 +28,3 @@ function minify(file, encoding, callback) { | ||
try { | ||
mangled = new CleanCSS().minify(String(file.contents)); | ||
mangled = new CleanCSS(opt).minify(String(file.contents)); | ||
file.contents = new Buffer(mangled); | ||
@@ -29,0 +31,0 @@ this.push(file); |
{ | ||
"name": "gulp-clean-css", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Minify files with CleanCSS", | ||
@@ -21,3 +21,3 @@ "author": "Radosław Mejer <radmen@gmail.com>", | ||
"engines": { | ||
"node": ">= 0.9" | ||
"node": ">= 0.10" | ||
}, | ||
@@ -24,0 +24,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
6517
147