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

Vite: Ensure we set DOCS_OPTIONS in the vite builder #19127

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Sep 7, 2022

Issue: storybookjs/builder-vite#492

I guess I forgot to tell y'all we needed to do this as part of #18763

What I did

Set DOCS_OPTIONS in vite, similar to other options like FEATURES.

How to test

Try running a vite sandbox with features: { storyStoreV7: false }.

One important note: "docs only" stories (e.g. Introduction.stories.mdx) do not currently work at all w/ the v6 store (not in any builder): #19126

Copy link
Member

@IanVS IanVS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@shilman shilman changed the title Ensure we set DOCS_OPTIONS in the vite builder Vite: Ensure we set DOCS_OPTIONS in the vite builder Sep 7, 2022
@shilman shilman merged commit 410cf57 into next Sep 7, 2022
@shilman shilman deleted the tom/sb-728-docs-broken-in-v6-store-vite branch September 7, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants