Skip to content

Allow vite plugin to fail silently during build #3775

@arpadgabor

Description

@arpadgabor

Description

Currently the Vite plugin fails whenever the input OpenAPI spec is not found, however in monorepos where the spec is generated on the fly (e.g. Hono with Zod OpenAPI) this can be problematic.

Due to this behaviour, during build heyApiPlugin() crashes the build, however the API client has been generated already during development.

A way to allow heyApiPlugin to crash silently during build would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions