Skip to content

Commit 60ac3d4

Browse files
authored
chore: change docsite glob to only pull index from react-components (#23726)
1 parent d5d510b commit 60ac3d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/public-docsite-v9/.storybook/main.utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getVnextStories() {
2424
.filter(pkgName => pkgName.startsWith('@fluentui/') && !excludedDependencies.includes(pkgName))
2525
.map(pkgName => {
2626
const name = pkgName.replace('@fluentui/', '');
27-
const storiesGlob = '/src/**/*.stories.@(ts|tsx|mdx)';
27+
const storiesGlob = '/src/**/@(index.stories.@(ts|tsx)|*.stories.mdx)';
2828

2929
return `../../../packages/react-components/${name}${storiesGlob}`;
3030
});

0 commit comments

Comments
 (0)