Skip to content

Commit

Permalink
Added reason why generateResourcesJson is inactive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasso85 committed Aug 17, 2020
1 parent d3cdb4e commit 33223ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/builder/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 33223ed

Please sign in to comment.