mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
21 lines
No EOL
329 B
Markdown
21 lines
No EOL
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({ /* ... */ })
|
|
}
|
|
}
|
|
- }
|
|
})
|
|
``` |