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
Describe the bug The compiler option preserveComments: true does nothing.
preserveComments: true
To Reproduce See this repo. With minimal changes from the svelte/template. This is my output with missing comment.
Expected behavior Keep the comment in the SSR.
Probably this is because of this todo:
svelte/src/compiler/compile/render_ssr/handlers/Comment.ts
Lines 5 to 9 in aabb23c
Information about your Svelte project: svelte-3.21.0 & rollup.
The text was updated successfully, but these errors were encountered:
Fix perserveComments on ssr (sveltejs#4730)
06a8668
332b8e8
Fix preserveComments on ssr (#4736)
554d5dd
Fixes #4730 Co-authored-by: tanhauhau <[email protected]>
This should be fixed in 3.39.0.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
The compiler option
preserveComments: true
does nothing.To Reproduce
See this repo. With minimal changes from the svelte/template. This is my output with missing comment.
Expected behavior
Keep the comment in the SSR.
Probably this is because of this todo:
svelte/src/compiler/compile/render_ssr/handlers/Comment.ts
Lines 5 to 9 in aabb23c
Information about your Svelte project:
svelte-3.21.0 & rollup.
The text was updated successfully, but these errors were encountered: