Closed pankajpatel closed 7 years ago
try storiesMask value 'stories/*'
or '../stories/*'
or '/stories/**'
. this should solve your issue now. would 'excludeDir' or similar option in config help?
'**/dates/stories/*'
solved issue.
Maybe because we match the above mask to full path.
Though storybook should not look into the node_modules
I have two components and and one of them is devDependency for another named
inspector-component
anddates
respectively and both of them have some stories.When I run stories in
dates
, storybook grabs stories frominspector-component
as well.dates
has following config: