Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"title": "DllPluginOptions",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"context": {
|
|
"description": "Context of requests in the manifest file (defaults to the webpack context).",
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"entryOnly": {
|
|
"description": "If true, only entry points will be exposed (default: true).",
|
|
"type": "boolean"
|
|
},
|
|
"format": {
|
|
"description": "If true, manifest json file (output) will be formatted.",
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"description": "Name of the exposed dll function (external name, use value of 'output.library').",
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"path": {
|
|
"description": "Absolute path to the manifest json file (output).",
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"type": {
|
|
"description": "Type of the dll bundle (external type, use value of 'output.libraryTarget').",
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"required": ["path"]
|
|
}
|