UNPKG

@pmmmwh/react-refresh-webpack-plugin

Version:

An **EXPERIMENTAL** Webpack plugin to enable "Fast Refresh" (also previously known as _Hot Reloading_) for React components.

75 lines (74 loc) 1.98 kB
{ "additionalProperties": false, "type": "object", "definitions": { "Path": { "type": "string" }, "MatchCondition": { "anyOf": [{ "instanceof": "RegExp" }, { "$ref": "#/definitions/Path" }] }, "MatchConditions": { "type": "array", "items": { "$ref": "#/definitions/MatchCondition" }, "minItems": 1 }, "ESModuleOptions": { "additionalProperties": false, "type": "object", "properties": { "exclude": { "anyOf": [ { "$ref": "#/definitions/MatchCondition" }, { "$ref": "#/definitions/MatchConditions" } ] }, "include": { "anyOf": [ { "$ref": "#/definitions/MatchCondition" }, { "$ref": "#/definitions/MatchConditions" } ] } } }, "OverlayOptions": { "additionalProperties": false, "type": "object", "properties": { "entry": { "anyOf": [{ "const": false }, { "$ref": "#/definitions/Path" }] }, "module": { "anyOf": [{ "const": false }, { "$ref": "#/definitions/Path" }] }, "sockIntegration": { "anyOf": [ { "const": false }, { "enum": ["wds", "whm", "wps"] }, { "$ref": "#/definitions/Path" } ] } } } }, "properties": { "esModule": { "anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/ESModuleOptions" }] }, "exclude": { "anyOf": [ { "$ref": "#/definitions/MatchCondition" }, { "$ref": "#/definitions/MatchConditions" } ] }, "forceEnable": { "type": "boolean" }, "include": { "anyOf": [ { "$ref": "#/definitions/MatchCondition" }, { "$ref": "#/definitions/MatchConditions" } ] }, "library": { "type": "string" }, "overlay": { "anyOf": [{ "type": "boolean" }, { "$ref": "#/definitions/OverlayOptions" }] } } }