Skip to content

Use Vite's Environment APIs #2525

Open

Description

@aklinker1

Feature Request

Instead of orchastrating all of the individual vite builds manually, let Vite do it using it's Environment API: https://vite.dev/guide/api-environment-frameworks

Is your feature request related to a bug?

Follow up to #1046

What are the alternatives?

Keep manually building each of the entrypoints

Additional context

  • I'm not sure if vite re-uses caches or intermediate values between environments. If it does, this will speed up builds, if not, it would be the same. Depending on if there is less code, we may or may not keep it in that case.
  • This was not possible to adopt until we dropped support for vite versions before v6, which we did in v0.21

Activity

  1. added this to the v1.0 milestone on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions