@geajs/vite-plugin 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1642,7 +1642,9 @@ function stmtUsesPropRefreshCall(stmt) {
1642
1642
  }
1643
1643
  function containsPropRefreshCall(node) {
1644
1644
  if (t2.isMemberExpression(node) && t2.isIdentifier(node.property)) {
1645
- if (node.property.name === "GEA_UPDATE_PROPS" || node.property.name.startsWith("__refresh")) return true;
1645
+ const n = node.property.name;
1646
+ if (n === "GEA_UPDATE_PROPS" || n === "GEA_SYNC_MAP" || n === "GEA_PATCH_COND" || n.startsWith("__refresh"))
1647
+ return true;
1646
1648
  }
1647
1649
  const keys = t2.VISITOR_KEYS[node.type];
1648
1650
  if (!keys) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geajs/vite-plugin",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Vite plugin for Gea framework - JSX/TSX transform, reactivity, HMR",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",