From 78ec006a61d1fec74f1430f575b2fcca075fd92d Mon Sep 17 00:00:00 2001 From: Viacheslav Turovskyi Date: Thu, 14 Mar 2024 02:35:16 +0000 Subject: [PATCH] feat: add flag `moveAllToComponents` --- src/Optimizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Optimizer.ts b/src/Optimizer.ts index 9d2f0503..32269441 100644 --- a/src/Optimizer.ts +++ b/src/Optimizer.ts @@ -109,7 +109,7 @@ export class Optimizer { reuseComponents: true, removeComponents: true, moveAllToComponents: true, - moveDuplicatesToComponents: true, + moveDuplicatesToComponents: false, // there is no need to move duplicates if `moveAllToComponents` is true }, output: Output.YAML, }