Data Deep Merge
Feature Removed
This feature was removed in Eleventy v4.0. Read more at GitHub Issue #3937 (originally inspired by GitHub Issue #147).
Feel free to head over to the previous Eleventy version of the docs for this documentation. Historically, it may be important to remember that the default for this feature was changed to true in Eleventy v1.
buildawesome.config.js
export default function ($config) {
// throws an error in Eleventy v4
$config.setDataDeepMerge(false);
// is a no-op in Eleventy v4
$config.setDataDeepMerge(true);
};
module.exports = function ($config) {
// throws an error in Eleventy v4
$config.setDataDeepMerge(false);
// is a no-op in Eleventy v4
$config.setDataDeepMerge(true);
};
Using the override: prefix
The override: prefix in the Data Cascade is still available! Read more about override: on the Data Cascade documentation.
Other pages in Data Cascade
- Front Matter Data
- Template & Directory Data Files
- Global Data Files
- Config Global Data
- Computed Data