Skip to content

Commit 8742fe7

Browse files
author
Daniel Thielman
committed
Disambiguate Query Parameter Docs
There are certain options on `lessc` which don't precisely map to the implied syntax in the docs (e.g. `lessc --modifyVar="myVar=myVal"` actually maps to `style!css!less?{"modifyVars":{"myVar":"myVal"}}`). This update clarifies the documentation.
1 parent 9267cb1 commit 8742fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = {
5151
};
5252
```
5353

54-
See the [LESS documentation](http://lesscss.org/usage/#command-line-usage-options) for all available options. LESS translates dash-case to camelCase.
54+
See the [LESS documentation](http://lesscss.org/usage/#command-line-usage-options) for all available options. LESS translates dash-case to camelCase. Certain options which take values (e.g. `lessc --modify-var="a=b"`) are better handled with the [JSON loader syntax](http://webpack.github.io/docs/using-loaders.html#query-parameters) (`style!css!less?{"modifyVars":{"a":"b"}}`).
5555

5656
### LESS plugins
5757

0 commit comments

Comments
 (0)