worker-loader
Version:
worker loader module for webpack
61 lines (60 loc) • 1.09 kB
JSON
{
"type": "object",
"properties": {
"worker": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"minLength": 1
},
"options": {
"additionalProperties": true,
"type": "object"
}
},
"required": ["type"]
}
]
},
"publicPath": {
"anyOf": [
{
"type": "string"
},
{
"instanceof": "Function"
}
]
},
"filename": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"instanceof": "Function"
}
]
},
"chunkFilename": {
"type": "string",
"minLength": 1
},
"inline": {
"enum": ["no-fallback", "fallback"]
},
"esModule": {
"type": "boolean"
}
},
"additionalProperties": false
}