Skip to content

[@hono/vite-dev-server] environment variables not loading #258

@Soviut

Description

@Soviut

In vite, environment variables are loaded from .env and .env.lcoal files as long as they start with a VITE_ prefix https://vite.dev/guide/env-and-mode

However, none of these variables seem to be importing to my context.

How can I pass environment variables when using the vite dev server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions