55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
|
{
|
||
|
"title": "Less Loader options",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"lessOptions": {
|
||
|
"description": "Options to pass through to `Less`.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#lessoptions",
|
||
|
"anyOf": [
|
||
|
{
|
||
|
"type": "object",
|
||
|
"additionalProperties": true
|
||
|
},
|
||
|
{
|
||
|
"instanceof": "Function"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"additionalData": {
|
||
|
"description": "Prepends/Appends `Less` code to the actual entry file.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#additionalData",
|
||
|
"anyOf": [
|
||
|
{
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"instanceof": "Function"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"sourceMap": {
|
||
|
"description": "Enables/Disables generation of source maps.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#sourcemap",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"webpackImporter": {
|
||
|
"description": "Enables/Disables default `webpack` importer.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#webpackimporter",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"implementation": {
|
||
|
"description": "The implementation of the `Less` to be used.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#implementation",
|
||
|
"anyOf": [
|
||
|
{
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"type": "object"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"additionalProperties": false
|
||
|
}
|