Skip to content

Commit c5a19db

Browse files
Update src/content/docs/en/guides/upgrade-to/v6.mdx
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
1 parent 69ea398 commit c5a19db

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/en/guides/upgrade-to

1 file changed

+1
-1
lines changed

src/content/docs/en/guides/upgrade-to/v6.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ In Astro 5.13, the `experimental.staticImportMetaEnv` was introduced to update t
508508

509509
In Astro 5.x, non-public environment variables were replaced by a reference to `process.env`. Additionally, Astro could also convert the value type of your environment variables used through `import.meta.env`, which could prevent access to some values such as the strings `"true"` (which was converted to a boolean value), and `"1"` (which was converted to a number).
510510

511-
Astro 6 removes this experimental flag and makes this the new default behavior in Astro: `import.meta.env` values are always inlined
511+
Astro 6 removes this experimental flag and makes this the new default behavior in Astro: `import.meta.env` values are always inlined and never coerced.
512512

513513
#### What should I do?
514514

0 commit comments

Comments
 (0)