diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 0c5ab71b8f0b..d10a040594de 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, ]; ```