From bfb2e2bc574d9b356aa14ffb3b6eb7eca285c73a Mon Sep 17 00:00:00 2001 From: Erez Rokah Date: Thu, 9 Apr 2020 13:33:21 +0300 Subject: [PATCH] fix: allow unlimited alias count (#3570) --- packages/netlify-cms-core/src/actions/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/netlify-cms-core/src/actions/config.js b/packages/netlify-cms-core/src/actions/config.js index 2c436eaf..21f8773f 100644 --- a/packages/netlify-cms-core/src/actions/config.js +++ b/packages/netlify-cms-core/src/actions/config.js @@ -119,7 +119,7 @@ function mergePreloadedConfig(preloadedConfig, loadedConfig) { } function parseConfig(data) { - const config = yaml.parse(data); + const config = yaml.parse(data, { maxAliasCount: -1 }); if (typeof CMS_ENV === 'string' && config[CMS_ENV]) { Object.keys(config[CMS_ENV]).forEach(key => { config[key] = config[CMS_ENV][key];