mod-build 3.6.59-beta.4 → 3.6.60-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.6.60
4
+
5
+ - added functionality to increase the fileInclude maxRecursion value from site level
6
+
3
7
  ## 3.6.59
4
8
 
5
9
  - adding `srcset` to the `add-path-subdirectories` gulp task to update relative paths in `<picture>` tags
@@ -257,7 +257,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
257
257
  '!' + siteSettings.srcFolder + '/' + siteSettings.templatesSubfolder + '/_partials/**/*.html'
258
258
  ])
259
259
  .pipe(gulpPlugins.handlebarsFileInclude(templatesData, {
260
- maxRecursion: 500,
260
+ maxRecursion: siteData.fileIncludeMaxRecursion ? siteData.fileIncludeMaxRecursion : 500,
261
261
  handlebarsHelpers: handlebarsHelpers
262
262
  }))
263
263
  .pipe(gulp.dest(siteSettings.tmpFolder));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.59-beta.4",
3
+ "version": "3.6.60-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",