@pinegrow/vite-plugin 3.0.0-beta.87 → 3.0.0-beta.88

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/vue/index.js CHANGED
@@ -140,6 +140,8 @@ export function usePinegrow() {
140
140
  ) {
141
141
  // Retain localFiles of iles island to apply to child elements
142
142
  isIsland = true
143
+
144
+ localFile = instance.props.component?.__file || instance.props.importFrom
143
145
  }
144
146
 
145
147
  // // Computed props anyway filters out unmounted ones, and we use the local components unmounted hooks to cleanup unmounted nodes. Using the unmounted hook seems to be out of sync when el is reused but instance is remounted.
@@ -231,6 +233,10 @@ export function usePinegrow() {
231
233
  }
232
234
  }
233
235
 
236
+ if (isIsland && !isRootFragment) {
237
+ return
238
+ }
239
+
234
240
  let elCacheObj = {
235
241
  el,
236
242
  isRootFragment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.0-beta.87",
3
+ "version": "3.0.0-beta.88",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [