diff --git a/common/changes/@rushstack/heft-storybook-plugin/main_2026-03-04-03-22.json b/common/changes/@rushstack/heft-storybook-plugin/main_2026-03-04-03-22.json new file mode 100644 index 00000000000..ac49ef1424b --- /dev/null +++ b/common/changes/@rushstack/heft-storybook-plugin/main_2026-03-04-03-22.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-storybook-plugin", + "comment": "add option to control whether to pass --quiet flag", + "type": "minor" + } + ], + "packageName": "@rushstack/heft-storybook-plugin" +} \ No newline at end of file diff --git a/heft-plugins/heft-storybook-plugin/src/StorybookPlugin.ts b/heft-plugins/heft-storybook-plugin/src/StorybookPlugin.ts index 4b3939ac429..62b1336d09a 100644 --- a/heft-plugins/heft-storybook-plugin/src/StorybookPlugin.ts +++ b/heft-plugins/heft-storybook-plugin/src/StorybookPlugin.ts @@ -158,6 +158,12 @@ export interface IStorybookPluginOptions { * Specifies whether to capture the webpack stats for the storybook build by adding the `--webpack-stats-json` CLI flag. */ captureWebpackStats?: boolean; + /** + * Specifies whether to run storybook in quiet mode (--quiet). + * + * @defaultValue `true` + */ + quiet?: boolean; } interface IRunStorybookOptions extends IPrepareStorybookOptions { @@ -487,7 +493,7 @@ export default class StorybookPlugin implements IHeftTaskPlugin