grunt-contrib-less
Advanced tools
Comparing version 0.11.4 to 0.12.0
{ | ||
"name": "grunt-contrib-less", | ||
"description": "Compile LESS files to CSS.", | ||
"version": "0.11.4", | ||
"version": "0.12.0", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-less", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-less v0.11.4 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less) <a href="https://ci.appveyor.com/project/gruntjs/grunt-contrib-less"><img src="https://ci.appveyor.com/api/projects/status/e3aa4d07xe4w4u05/branch/master" alt="Build Status: Windows" height="18" /></a> | ||
# grunt-contrib-less v0.12.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less) <a href="https://ci.appveyor.com/project/gruntjs/grunt-contrib-less"><img src="https://ci.appveyor.com/api/projects/status/e3aa4d07xe4w4u05/branch/master" alt="Build Status: Windows" height="18" /></a> | ||
@@ -61,2 +61,7 @@ > Compile LESS files to CSS. | ||
#### cleancssOptions | ||
Type: `Object` | ||
Default: none | ||
#### ieCompat | ||
@@ -224,3 +229,4 @@ Type: `Boolean` | ||
* ---------- v0.11.4 Fix 'banner', 'urlArgs' LESS options Fixes npm 2 peerDependencies issues | ||
* 2014-10-23 v0.12.0 Added cleancssOptions as a option. When possible, includes filename for failed writes. Ensure banner only outputs on the first file in a series. | ||
* 2014-07-29 v0.11.4 Fix 'banner', 'urlArgs' LESS options Fixes npm 2 peerDependencies issues | ||
* 2014-06-20 v0.11.3 Update to Less ~1.7.2. | ||
@@ -257,2 +263,2 @@ * 2014-06-01 v0.11.2 Lock to less 1.7.0. | ||
*This file was generated on Tue Jul 29 2014 14:43:30.* | ||
*This file was generated on Thu Oct 23 2014 11:56:56.* |
@@ -22,3 +22,3 @@ /* | ||
'rootpath'], | ||
render: ['compress', 'cleancss', 'ieCompat', 'strictMath', 'strictUnits', 'urlArgs', | ||
render: ['compress', 'cleancss', 'cleancssOptions', 'ieCompat', 'strictMath', 'strictUnits', 'urlArgs', | ||
'sourceMap', 'sourceMapFilename', 'sourceMapURL', 'sourceMapBasepath', 'sourceMapRootpath', 'outputSourceFiles'] | ||
@@ -54,3 +54,3 @@ }; | ||
if (f.src.length < 1) { | ||
grunt.log.warn('Destination not written because no source files were found.'); | ||
grunt.log.warn('Destination ' + chalk.cyan(destFile) + ' not written because no source files were found.'); | ||
} | ||
@@ -63,3 +63,9 @@ | ||
var compiledMax = [], compiledMin = []; | ||
var i = 0; | ||
async.concatSeries(files, function(file, next) { | ||
if (i++ > 0) { | ||
options.banner = ''; | ||
} | ||
compileLess(file, options, function(css, err) { | ||
@@ -81,3 +87,3 @@ if (!err) { | ||
if (compiledMin.length < 1) { | ||
grunt.log.warn('Destination not written because compiled files were empty.'); | ||
grunt.log.warn('Destination ' + chalk.cyan(destFile) + ' not written because compiled files were empty.'); | ||
} else { | ||
@@ -84,0 +90,0 @@ var max = compiledMax.join(grunt.util.normalizelf(grunt.util.linefeed)); |
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
17396
173
262