Skip to content

loadStoryImportPaths

loadStoryImportPaths(cwd, buildDir): Promise<string[]>

Defined in: stats.ts:232

Load the deduplicated story import paths from a built Storybook’s index.

string

Repository root.

string

Built Storybook directory.

Promise<string[]>

Normalized import paths; throws when no index is readable.