uni-helper / vite-plugin-uni-pages

为 Vite 下的 uni-app 提供基于文件系统的路由
https://uni-helper.js.org/vite-plugin-uni-pages
MIT License
104 stars 15 forks source link

0.2.25版本生成的pages.json会多一层default #178

Closed liamlinyw closed 1 month ago

liamlinyw commented 1 month ago

描述问题

生成的pages.json如下, 多了一层default

{
  "default": {
    "easycom": {
      ...
    },
    "globalStyle": {
      ...
    },
    "tabBar": {
      ...
    }
  },
  "pages": [
    ...
  ],
  "subPackages": []
}

复现

-

系统信息

-

使用的包管理器

npm

核对

Skiyee commented 1 month ago

感谢反馈,已复现问题,我们将尽快修复!

Skiyee commented 1 month ago

已修复,请升级依赖 @uni-helper/vite-plugin-uni-pagesv0.2.26