diff --git a/lib/store/src/StoryStore.ts b/lib/store/src/StoryStore.ts index 148512b0cb7a..5001ad5dad59 100644 --- a/lib/store/src/StoryStore.ts +++ b/lib/store/src/StoryStore.ts @@ -267,6 +267,7 @@ export class StoryStore { acc[storyId] = Object.entries(story).reduce( (storyAcc, [key, value]) => { + if (key === 'moduleExport') return storyAcc; if (typeof value === 'function') { return storyAcc; }