Skip to content

chore: update versions#29

Merged
rqbazan merged 1 commit into
mainfrom
changeset-release/main
Jun 17, 2026
Merged

chore: update versions#29
rqbazan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vland-bot

@vland-bot vland-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@vlandoss/env@0.5.1

Patch Changes

  • #28 8634e59 Thanks @rqbazan! - Clarify that the envConfig() Vite plugin is required for any non-development browser build, not just custom modes.

    In the browser, envName()'s readEnv() only reads window.__env — never process.env — so a pure SPA can't see NODE_ENV / VITE_ENV. Without the plugin's __ENV_NAME__ inject, envName() falls back to "development" (silently shipping the dev config to every environment), regardless of the --mode or VITE_ENV used at build time. The docs and the __ENV_NAME__ JSDoc previously stated the browser would fall back to "production", which is only true on the server.

Releases:
  @vlandoss/env@0.5.1

[skip ci]
@rqbazan rqbazan merged commit a83696a into main Jun 17, 2026
@rqbazan rqbazan deleted the changeset-release/main branch June 17, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant