Options

outputFile

Required
string
Default: ./.storybook/story-loader.ts

The output file that will be written. It is relative to the project directory.

pattern

Required
string
Default: **/*.stories.@(js|jsx|ts|tsx|md)

The pattern of files to look at. It can be a specific file, or any valid glob. Note: if using the CLI, globs with **/*... must be escaped with quotes

searchDir

Required
Array<string>
Default: []

The directory or directories, relative to the project root, to search for files in.