less-loader
Advanced tools
Comparing version 2.2.1 to 2.2.2
Changelog | ||
--------- | ||
### 2.2.2 | ||
- Fix issues with synchronous less functions like `data-uri()`, `image-size()`, `image-width()`, `image-height()` [#31](https://github.com/webpack/less-loader/issues/31) [#38](https://github.com/webpack/less-loader/issues/38) [#43](https://github.com/webpack/less-loader/issues/43) [#58](https://github.com/webpack/less-loader/pull/58) | ||
### 2.2.1 | ||
- Improve Readme | ||
### 2.2.0 | ||
- Added option to specify LESS plugins [#40](https://github.com/webpack/less-loader/pull/40) |
@@ -97,3 +97,5 @@ "use strict"; | ||
WebpackFileManager.prototype.supportsSync = WebpackFileManager.prototype.supports; | ||
WebpackFileManager.prototype.supportsSync = function(filename, currentDirectory, options, environment) { | ||
return isSync; | ||
}; | ||
@@ -100,0 +102,0 @@ WebpackFileManager.prototype.loadFile = function(filename, currentDirectory, options, environment, callback) { |
{ | ||
"name": "less-loader", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "less loader module for webpack", |
# less loader for webpack | ||
## Installation | ||
`npm install less-loader --save-dev` | ||
## Usage | ||
@@ -58,5 +62,4 @@ | ||
In order to use [plugins](http://lesscss.org/usage/#plugins), simply define | ||
the `lessLoader.lessPlugins` option. You can also change the options key | ||
with a query parameter: `"less?config=lessLoaderCustom"`. | ||
In order to use [plugins](http://lesscss.org/usage/#plugins), simply set | ||
the `lessLoader.lessPlugins`-option on your webpack options. You can also change the options' key with a query parameter: `"less?config=lessLoaderCustom"`. | ||
@@ -63,0 +66,0 @@ ``` javascript |
@@ -0,0 +0,0 @@ /* |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
125626
36
160
133