Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/polite-shoes-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@web/dev-server-storybook': patch
---

Error message typo fixed in readStorybookConfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const defaultConfigDir = path.join(process.cwd(), '.storybook');

function validateMainJs(mainJs: MainJs): MainJs {
if (typeof mainJs !== 'object') {
throw createError('main.js must export an bject');
throw createError('main.js must export an object');
}
if (mainJs.stories == null) {
throw createError('Missing stories option in main.js');
Expand Down