bloom-layout
Version:
layout components used in bloom packages
106 lines (105 loc) • 2.51 kB
JSON
{
"type": "object",
"properties": {
"externals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"module": {
"type": "string"
},
"entry": {
"type": ["string", "array", "object"],
"items": {
"type": ["string", "object"],
"properties": {
"path": {
"type": "string"
},
"type": {
"type": "string",
"enum": ["js", "css"]
},
"attributes": {
"type": "object",
"patternProperties": {
"^.+$": {
"type": "string"
}
},
"additionalProperties": false,
"default": {}
}
},
"required": ["path"]
},
"minItems": 1,
"properties": {
"path": {
"type": "string"
},
"type": {
"type": "string",
"enum": ["js", "css"]
},
"attributes": {
"type": "object",
"patternProperties": {
"^.+$": {
"type": "string"
}
},
"additionalProperties": false,
"default": {}
}
},
"required": ["path"]
},
"global": {
"type": ["string", "null"],
"default": null
},
"supplements": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"append": {
"type": "boolean",
"default": false
}
},
"required": ["module", "entry"]
},
"minItems": 1
},
"hash": {
"type": "boolean",
"default": false
},
"outputPath": {
"type": "string",
"default": "vendor"
},
"publicPath": {
"type": ["string", "null"],
"default": null
},
"files": {
"type": ["string", "array", "null"],
"items": {
"type": "string"
},
"minItems": 1,
"default": null
},
"enabled": {
"type": "boolean",
"default": true
}
},
"required": ["externals"]
}