posthtml-loader
Version:
PostHTML for Webpack
66 lines (65 loc) • 1.2 kB
JSON
{
"type": "object",
"properties": {
"sync": {
"type": "boolean"
},
"directives": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
}
},
"skipParse": {
"type": "boolean"
},
"ident": {
"type": "string"
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"ctx": {
"type": "object"
}
},
"additionalProperties": false
},
"parser": {
"oneOf": [
{ "type": "string" },
{ "type": "object" },
{ "instanceof": "Function" }
]
},
"render": {
"oneOf": [
{ "type": "string" },
{ "type": "object" },
{ "instanceof": "Function" }
]
},
"plugins": {
"oneOf": [
{ "type": "array" },
{ "type": "object" },
{ "instanceof": "Function" }
]
}
},
"additionalProperties": false
}