Skip to content

FEATURE: 文档构建产物生成xx.zip是个空文件夹bug问题修复 #7005

@chenwei1109

Description

@chenwei1109

Version

Vben Admin V5

Description

文档构建产物生成xx.zip是个空文件夹bug;原因是文档也是使用了internal/vite-config/archiver.ts插件生成压缩文件,但这个插件是基于项目根目录下的dist文件夹,而文档生成的dist文件夹在.vitepress中,所以需要调整其相对目录。解决方案如下:

Proposed Solution

Image 添加类型定义如上图 Image 动态配置源目标文件位置 Image 调整源目标文件位置

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions