@uni-helper/vite-plugin-uni-pages 0.3.7 → 0.3.8

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.cjs CHANGED
@@ -478,7 +478,10 @@ async function tryPageMetaFromMacro(sfc) {
478
478
  code,
479
479
  filename: sfc.filename
480
480
  });
481
- return result;
481
+ return {
482
+ type: "page",
483
+ ...result
484
+ };
482
485
  }
483
486
  return void 0;
484
487
  }
package/dist/index.mjs CHANGED
@@ -444,7 +444,10 @@ async function tryPageMetaFromMacro(sfc) {
444
444
  code,
445
445
  filename: sfc.filename
446
446
  });
447
- return result;
447
+ return {
448
+ type: "page",
449
+ ...result
450
+ };
448
451
  }
449
452
  return void 0;
450
453
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uni-helper/vite-plugin-uni-pages",
3
3
  "type": "module",
4
- "version": "0.3.7",
4
+ "version": "0.3.8",
5
5
  "description": "File system based routing for uni-app applications using Vite",
6
6
  "author": "KeJun",
7
7
  "maintainers": [