Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Sep 25, 2024
1 parent 042433c commit 00565de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/docs/data-eleventy-supplied.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,16 @@ These videos also provide some additional context as to why this is important:
## Environment Variables on `process.env`

- Read more about [Eleventy-supplied environment variables](/docs/environment-vars/#eleventy-supplied).

## Frozen Data

Starting in Eleventy 3.0, the `pkg`, `eleventy`, `page`, `content`, and `collections` properties are now frozen from external modification to prevent accidental overrides interfering with Eleventy internals.

You can temporarily opt-out of the behavior using:

{% set codeContent %}
export default function(eleventyConfig) {
eleventyConfig.setFreezeReservedData(false);
};
{% endset %}
{% include "snippets/configDefinition.njk" %}

0 comments on commit 00565de

Please sign in to comment.