UNPKG

1.46 kBJSONView Raw
1{
2 "title": "Less Loader options",
3 "type": "object",
4 "properties": {
5 "lessOptions": {
6 "description": "Options to pass through to `Less`.",
7 "link": "https://github.com/webpack-contrib/less-loader#lessoptions",
8 "anyOf": [
9 {
10 "type": "object",
11 "additionalProperties": true
12 },
13 {
14 "instanceof": "Function"
15 }
16 ]
17 },
18 "additionalData": {
19 "description": "Prepends/Appends `Less` code to the actual entry file.",
20 "link": "https://github.com/webpack-contrib/less-loader#additionalData",
21 "anyOf": [
22 {
23 "type": "string"
24 },
25 {
26 "instanceof": "Function"
27 }
28 ]
29 },
30 "sourceMap": {
31 "description": "Enables/Disables generation of source maps.",
32 "link": "https://github.com/webpack-contrib/less-loader#sourcemap",
33 "type": "boolean"
34 },
35 "webpackImporter": {
36 "description": "Enables/Disables default `webpack` importer.",
37 "link": "https://github.com/webpack-contrib/less-loader#webpackimporter",
38 "type": "boolean"
39 },
40 "implementation": {
41 "description": "The implementation of the `Less` to be used.",
42 "link": "https://github.com/webpack-contrib/less-loader#implementation",
43 "anyOf": [
44 {
45 "type": "string"
46 },
47 {
48 "type": "object"
49 }
50 ]
51 }
52 },
53 "additionalProperties": false
54}