gulp-json-include-and-merge

Wherever '<something>--extends' keys are discovered in piped files - the specified file is included and merged with the following object.

Usage no npm install needed!

<script type="module">
  import gulpJsonIncludeAndMerge from 'https://cdn.skypack.dev/gulp-json-include-and-merge';
</script>

README

gulp-json-include-and-merge

Wherever '<something>--extends' keys are discovered in piped files - the specified file is included and merged with the following object.

Inspired by the jcr extends mechanism in magnolia cms.

Used by magnolia-lighter project.