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']; }