46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"title": "PostCSS Loader options",
|
|
"type": "object",
|
|
"properties": {
|
|
"postcssOptions": {
|
|
"description": "Options to pass through to `Postcss`.",
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"config": {
|
|
"description": "Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)",
|
|
"anyOf": [
|
|
{
|
|
"description": "Allows to specify the path to the configuration file",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"description": "Enables/Disables autoloading config",
|
|
"type": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"instanceof": "Function"
|
|
}
|
|
]
|
|
},
|
|
"execute": {
|
|
"description": "Enables/Disables PostCSS parser support in 'CSS-in-JS' (https://github.com/postcss/postcss-loader#execute)",
|
|
"type": "boolean"
|
|
},
|
|
"sourceMap": {
|
|
"description": "Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)",
|
|
"type": "boolean"
|
|
},
|
|
"implementation": {
|
|
"description": "The implementation of postcss to use, instead of the locally installed version (https://github.com/postcss/postcss-loader#implementation)",
|
|
"instanceof": "Function"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|