You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.6 KiB
60 lines
1.6 KiB
4 weeks ago
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"lessLogAsWarnOrErr": {
|
||
|
"description": "Less warnings and errors will be webpack warnings or errors.",
|
||
|
"link": "https://github.com/webpack-contrib/less-loader#lesslogaswarnorerr",
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
},
|
||
|
"additionalProperties": false
|
||
|
}
|