@pinegrow/vite-plugin 3.0.0-beta.39 → 3.0.0-beta.40

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.
@@ -200,6 +200,9 @@ export function usePinegrow() {
200
200
  }
201
201
 
202
202
  if (childVNodes.length) {
203
+ // Filter out recursive vnodes text1 -> div, text1 (happens when text1 is the closest to a fragment with div & slot)
204
+ childVNodes = childVNodes.filter(childVNode => childVNode.el !== el)
205
+
203
206
  if (childVNodes.length === 1) {
204
207
  firstEl = lastEl = childVNodes[0].el
205
208
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.0-beta.39",
3
+ "version": "3.0.0-beta.40",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [