Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not require @storybook/addon-svelte-csf to be installed #388

Merged
merged 1 commit into from
May 19, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented May 19, 2022

Starting in Storybook 6.5, @storybook/addon-svelte-csf is not installed by default in Svelte projects. Instead, it's encouraged to use CSF for stories.

But, the vite builder expects that it's always there, and would throw an error if it's not installed. This allows it to be missing.

It also fixes the logic for our other catch statements, which weren't working because the boolean logic was reversed. 🤦.

@IanVS IanVS requested a review from joshwooding May 19, 2022 14:31
@IanVS IanVS merged commit 0a9f59b into main May 19, 2022
@IanVS IanVS deleted the svelte-allow-no-csf branch May 19, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants