Skip to content

Commit

Permalink
Merge branch 'next' into valentin/fix-csf-loader-for-angular-second-a…
Browse files Browse the repository at this point in the history
…ttempt
  • Loading branch information
valentinpalkovic authored Dec 4, 2023
2 parents f1d5a19 + a77d915 commit 8113eaf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/tasks/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}

Expand Down

0 comments on commit 8113eaf

Please sign in to comment.