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 b65a4b2 commit cd092e7Copy full SHA for cd092e7
packages/storybook-builder/src/list-stories.ts
@@ -41,10 +41,12 @@ export async function listStories(options: Options) {
41
const pattern = join(directory, files);
42
const absolutePattern = isAbsolute(pattern) ? pattern : join(options.configDir, pattern);
43
44
- const stories = await glob(slash(absolutePattern), {
45
- ...excludeNodeModulesGlobOptions(absolutePattern),
46
- follow: true,
47
- });
+ const stories = (
+ await glob(slash(absolutePattern), {
+ ...excludeNodeModulesGlobOptions(absolutePattern),
+ follow: true,
48
+ })
49
+ ).map(slash);
50
51
console.log('new > found stories', stories);
52
0 commit comments