mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Output Storybook to storybook-static if only one project is available
This commit is contained in:
parent
de08cd06ab
commit
fb98cae978
@ -110,7 +110,10 @@ export class AngularJSON {
|
||||
builder: '@storybook/angular:build-storybook',
|
||||
options: {
|
||||
...baseOptions,
|
||||
outputDir: `dist/storybook/${angularProjectName}`,
|
||||
outputDir:
|
||||
Object.keys(this.projects).length === 1
|
||||
? `storybook-static`
|
||||
: `dist/storybook/${angularProjectName}`,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user