Skip to content

使用unplugin-auto-import在build时不会自动生成auto-imports.d.ts和components.d.ts导致打包失败 #56

@TaoziDeGitHub

Description

@TaoziDeGitHub

Describe the bug

auto-imports.d.ts和components.d.ts我加入了.gitignore忽略项,意味着线上仓库没有这两个文件,正常的vite.config.ts是可以在build时自动生成的,但是这个并没有,导致build时报错

Image

Used Scaffolding

create-electron

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions