@pinegrow/vite-plugin 3.0.0-beta.45 → 3.0.0-beta.47

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.
@@ -224,6 +224,13 @@ export function usePinegrow() {
224
224
  lastEl = childVNodes[childVNodes.length - 1].el
225
225
  }
226
226
 
227
+ if (firstEl && firstEl.nodeType !== 1) {
228
+ firstEl = firstEl.nextElementSibling
229
+ }
230
+ if (lastEl && lastEl.nodeType !== 1) {
231
+ lastEl = lastEl.nextElementSibling
232
+ }
233
+
227
234
  childVNodes.forEach(childVNode => {
228
235
  pgUpdateElCache(hook, pgId, isRootFragment ? el : rootEl, key)(childVNode)
229
236
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.0-beta.45",
3
+ "version": "3.0.0-beta.47",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [
package/types.d.ts CHANGED
@@ -1 +1,11 @@
1
1
  declare module '@pinegrow/vite-plugin'
2
+
3
+ // export interface liveDesigner {
4
+ // repoRoot?: string;
5
+ // configPath?: string;
6
+ // plugins?: string[];
7
+ // devtoolsKey?: string;
8
+ // customTypes?: {
9
+ // default?: {};
10
+ // };
11
+ // };