@geajs/vite-plugin 1.0.23 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4706,6 +4706,7 @@ function expressionContainsJSX(expr) {
|
|
|
4706
4706
|
return found;
|
|
4707
4707
|
}
|
|
4708
4708
|
function isChildrenPropAccess(expr) {
|
|
4709
|
+
if (t10.isIdentifier(expr) && expr.name === "children") return true;
|
|
4709
4710
|
if (t10.isMemberExpression(expr) && t10.isIdentifier(expr.property) && expr.property.name === "children" && t10.isIdentifier(expr.object) && expr.object.name === "props")
|
|
4710
4711
|
return true;
|
|
4711
4712
|
if (t10.isMemberExpression(expr) && t10.isIdentifier(expr.property) && expr.property.name === "children" && t10.isMemberExpression(expr.object) && t10.isThisExpression(expr.object.object) && t10.isIdentifier(expr.object.property) && expr.object.property.name === "props")
|