From e37e18bbcf7b1adfb607bb5b1eb15d7f6555b102 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Mon, 4 Dec 2023 09:05:39 +0100 Subject: [PATCH] Build: Remove link forced option for Angular sandboxes --- scripts/tasks/sandbox.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/tasks/sandbox.ts b/scripts/tasks/sandbox.ts index 5b7897be47e7..be1e5f72999a 100644 --- a/scripts/tasks/sandbox.ts +++ b/scripts/tasks/sandbox.ts @@ -11,17 +11,11 @@ const logger = console; export const sandbox: Task = { description: 'Create the sandbox from a template', dependsOn: ({ template }, { link }) => { - let shouldLink = link; - - if (template.expected.framework === '@storybook/angular') { - shouldLink = false; - } - if ('inDevelopment' in template && template.inDevelopment) { return ['run-registry', 'generate']; } - if (shouldLink) { + if (link) { return ['compile']; }