[Bug] docgen works with start-storybook but not build-storybook
kedarv opened this issue · 0 comments
kedarv commented
Describe the bug
When I invoke start-storybook
, my component's props are extracted correctly and the Description/ArgsTable are populated correctly. When I invoke build-storybook
with the same configuration used in start-storybook
, it fails and no inputs are found.
Is there something that would result in these different behaviors when building for production vs dev server? Interestingly, our configs seem to work fine for both building and dev server with TypeScript components - but Flow typed components seem to only work when using the dev server