We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the builder @storybook/svelte-vite or @storybook/sveltekit, the documentation for a component written in Typescript are not generated.
@storybook/svelte-vite
@storybook/sveltekit
Vite uses esbuild, and esbuild remove comments and jsdoc when transpiling typescript. However, jsdoc is used to extract the documentation.
It works when using sveltePreprocess() instead of vitePreprocess().
sveltePreprocess()
vitePreprocess()
It's visible on the sandbox svelte-vite/default-ts and sveltekit/default-ts. The Button component doesn't have documentation.
svelte-vite/default-ts
sveltekit/default-ts
Button
No response
The text was updated successfully, but these errors were encountered:
lang="ts"
Closed by #24096
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using the builder
@storybook/svelte-vite
or@storybook/sveltekit
, the documentation for a component written in Typescript are not generated.Vite uses esbuild, and esbuild remove comments and jsdoc when transpiling typescript. However, jsdoc is used to extract the documentation.
It works when using
sveltePreprocess()
instead ofvitePreprocess()
.To Reproduce
It's visible on the sandbox
svelte-vite/default-ts
andsveltekit/default-ts
. TheButton
component doesn't have documentation.System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: