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

[Request] Support for portable stories and experimental vitest-addon #213

Open
Tracked by #29531
bhvngt opened this issue Sep 19, 2024 · 3 comments · May be fixed by storybookjs/storybook#30105
Open
Tracked by #29531

[Request] Support for portable stories and experimental vitest-addon #213

bhvngt opened this issue Sep 19, 2024 · 3 comments · May be fixed by storybookjs/storybook#30105
Assignees
Labels
enhancement New feature or request next Related to the next version

Comments

@bhvngt
Copy link

bhvngt commented Sep 19, 2024

As storybook 8.3 is out with experimental support for running portable stories with vitest.

This is a feature request for supporting svelte-native csf with vitest-plugin. This will also enable this plugin to support exportable portable stories.

@xeho91
Copy link
Collaborator

xeho91 commented Nov 5, 2024

@JReinhold

Do we want to try to solve this case before the major release?

You once asked me if it was necessary to provide the enforce: "post" option for Vite transform plugin.
I'm exploring this quickly, and removing this option doesn't break anything. I've tested on dev and build modes.

Is that the only thing that was the blocker, or is there anything else?

@JReinhold
Copy link
Collaborator

@xeho91 if you can remove the enforce: "post" that would be great, as we know that is a known blocker. There is also work to be done in core to truly fix this, but that will be easier done when the enforce ment is gone.

@xeho91
Copy link
Collaborator

xeho91 commented Dec 7, 2024

@xeho91 if you can remove the enforce: "post" that would be great, as we know that is a known blocker. There is also work to be done in core to truly fix this, but that will be easier done when the enforce ment is gone.

#241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next Related to the next version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants