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>
This commit is contained in:
Nate Moore 2022-06-17 17:34:47 -05:00 committed by GitHub
parent 6ab749be5c
commit 12ec35feff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
];
```