loadStoryImportPaths
loadStoryImportPaths(
cwd,buildDir):Promise<string[]>
Defined in: stats.ts:232
Load the deduplicated story import paths from a built Storybook’s index.
Parameters
Section titled “Parameters”string
Repository root.
buildDir
Section titled “buildDir”string
Built Storybook directory.
Returns
Section titled “Returns”Promise<string[]>
Normalized import paths; throws when no index is readable.