docpad-plugin-less
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -18,3 +18,10 @@ // Generated by CoffeeScript 1.3.3 | ||
LessPlugin.prototype.priority = 725; | ||
LessPlugin.prototype.config = { | ||
compress: true, | ||
environments: { | ||
development: { | ||
compress: false | ||
} | ||
} | ||
}; | ||
@@ -31,4 +38,3 @@ LessPlugin.prototype.render = function(opts, next) { | ||
paths: [dirPath], | ||
optimization: 1, | ||
compress: true | ||
compress: this.config.compress | ||
}; | ||
@@ -35,0 +41,0 @@ return new less.Parser(options).parse(opts.content, function(err, tree) { |
{ | ||
"name": "docpad-plugin-less", | ||
"version": "2.0.1", | ||
"description": "Adds support for the LessCSS pre-processor to DocPad.", | ||
"version": "2.1.0", | ||
"description": "Adds support for the LESS CSS pre-processor to DocPad", | ||
"homepage": "https://github.com/bevry/docpad-extras", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
3574
64