mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
21 lines
329 B
Markdown
21 lines
329 B
Markdown
|
---
|
||
|
'astro': major
|
||
|
---
|
||
|
|
||
|
Makes `astro:env` stable
|
||
|
|
||
|
To upgrade, update your Astro config:
|
||
|
|
||
|
```diff
|
||
|
import { defineConfig, envField } from 'astro/config'
|
||
|
|
||
|
export default defineConfig({
|
||
|
- experimental: {
|
||
|
env: {
|
||
|
schema: {
|
||
|
FOO: envField.string({ /* ... */ })
|
||
|
}
|
||
|
}
|
||
|
- }
|
||
|
})
|
||
|
```
|