summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/astro/CHANGELOG.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 0c5ab71b8..d10a04059 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -34,7 +34,8 @@
```ts
integration: [
// Only run `compress` integration when in production environments, etc...
- import.meta.env.production ? compress() : null,
+ // Note that `import.meta.env` is not available inside the `astro.config.mjs` file!
+ process.env.production ? compress() : null,
];
```