stylus-loader
Version:
Stylus loader for webpack
55 lines (54 loc) • 1.45 kB
JSON
{
"title": "Stylus Loader options",
"type": "object",
"properties": {
"implementation": {
"description": "The implementation of the `Stylus` to be used.",
"link": "https://github.com/webpack/stylus-loade#implementation",
"anyOf": [
{
"type": "string"
},
{
"instanceof": "Function"
}
]
},
"stylusOptions": {
"description": "Options to pass through to `Stylus`.",
"link": "https://github.com/webpack/stylus-loader#stylusoptions",
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"instanceof": "Function"
}
]
},
"sourceMap": {
"description": "Enables/Disables generation of source maps.",
"link": "https://github.com/webpack/stylus-loader#sourcemap",
"type": "boolean"
},
"webpackImporter": {
"description": "Enables/Disables default `webpack` importer.",
"link": "https://github.com/webpack/stylus-loader#webpackimporter",
"type": "boolean"
},
"additionalData": {
"description": "Prepends/Appends `Stylus` code to the actual entry file.",
"link": "https://github.com/webpack/stylus-loader#additionalData",
"anyOf": [
{
"type": "string"
},
{
"instanceof": "Function"
}
]
}
},
"additionalProperties": false
}