Skip to content

Commit c241038

Browse files
add option for chunk size
1 parent 24b395f commit c241038

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commands/storybook.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async function storybook(serve, options) {
6666

6767
// Get storyIds to be rendered
6868
let storyIds = static.filterStories(dirPath, storybookConfig)
69+
let maxStories = storybookConfig.chunkSize || 100;
6970

7071
// Upload Storybook static
7172
await static.getSignedUrl(options)
@@ -160,6 +161,7 @@ async function storybook(serve, options) {
160161
},
161162
buildName: buildName,
162163
tunnel: options.tunnel || {},
164+
maxStories: maxStories
163165
}
164166

165167
// Call static render API

0 commit comments

Comments
 (0)