From c8f3a800eaba22781751cce825ea9aa0796e8e3a Mon Sep 17 00:00:00 2001 From: Tobias Sorn Date: Mon, 17 Aug 2020 14:46:12 +0200 Subject: [PATCH] Added reason why generateResourcesJson is inactive by default --- lib/builder/builder.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/builder/builder.js b/lib/builder/builder.js index 221e9a27d..d79e39c19 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -59,6 +59,10 @@ function composeTaskList({dev, selfContained, jsdoc, includedTasks, excludedTask selectedTasks.executeJsdocSdkTransformation = false; selectedTasks.generateCachebusterInfo = false; selectedTasks.generateApiIndex = false; + + // Disable generateResourcesJson due to performance. + // When executed it analyzes each module's AST and therefore + // takes up much time (~10% more) selectedTasks.generateResourcesJson = false; if (selfContained) {