diff options
author | 2022-06-17 17:34:47 -0500 | |
---|---|---|
committer | 2022-06-17 22:34:47 +0000 | |
commit | 12ec35feffd0d0fe24332078eda429dc587151ff (patch) | |
tree | bb4d01b558f56091d416597db51b2db7a10af1e8 | |
parent | 6ab749be5c60c4b57aae8a0ba6083d010fe3b791 (diff) | |
download | astro-12ec35feffd0d0fe24332078eda429dc587151ff.tar.gz astro-12ec35feffd0d0fe24332078eda429dc587151ff.tar.zst astro-12ec35feffd0d0fe24332078eda429dc587151ff.zip |
docs: update incorrect example in changelog (#3609)
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Diffstat (limited to '')
-rw-r--r-- | packages/astro/CHANGELOG.md | 3 |
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, ]; ``` |