We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a35dd08 commit 26dfe51Copy full SHA for 26dfe51
code/lib/create-storybook/src/initiate.ts
@@ -182,11 +182,11 @@ async function runStorybookDev(result: {
182
parts.push('--silent');
183
}
184
185
+ // in the case of Angular, we are calling `ng run` which doesn't allow passing flags to the command
186
const supportSbFlags = projectType !== ProjectType.ANGULAR;
187
188
if (supportSbFlags) {
189
// npm needs extra -- to pass flags to the command
- // in the case of Angular, we are calling `ng run` which doesn't need the extra `--`
190
const doesNeedExtraDash =
191
packageManager.type === PackageManagerName.NPM ||
192
packageManager.type === PackageManagerName.BUN;
0 commit comments