Skip to content

Commit

Permalink
docs: update incorrect example in changelog (withastro#3609)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
  • Loading branch information
3 people authored Jun 17, 2022
1 parent 184a5ad commit 588a7b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
```

Expand Down

0 comments on commit 588a7b8

Please sign in to comment.