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
commens loss when compiler typescript jsx element
<Tabs> {/* #if IS_VOLC */} <TabPane > <TTSTabPane /> </TabPane> <TabPane > <ComputerVisionTabPane /> </TabPane> {/* #endif */} </Tabs>
none
https://play.swc.rs/?version=1.10.5-nightly-20250107.1&code=H4sIAAAAAAAAA7MJSUwqtuNSAAIbIDMgMS8VwtPXT0lJgYjro0hU62spKGemKXgGx4f5%2BzgraOnXYtEOEQkJhgoq6NthMwuLHuf83ILSktSisMzizPw8%2FNrBTknNSwG6BuQKsGyxHQDVI7WO0wAAAA%3D%3D&config=H4sIAAAAAAAAA1WPSw7DIAxE9zkF8rrbdtE79BCIOhEVBGQ7UlGUuxfCp%2B0Ov5nxmH1SCl5s4K72%2FMxD1MRIY86E0yr6nQlIisiGbBS4dFW4SEIbnuSoAoimBaWEkK%2FNDS4Exsxm7Rgb83a1c%2FrtM8FHQuZ%2FY7HqdXEjX%2BumVgk%2BPLdTbP8ot9b6G3xNvWwsBsuPnqxrjw%2BfJDr2FAEAAA%3D%3D
retain comment
1.10.4
The text was updated successfully, but these errors were encountered:
The problem is that we are not calling comment emitting macros from
swc/crates/swc_ecma_codegen/src/jsx.rs
Lines 121 to 125 in 925695f
Sorry, something went wrong.
@kdy1 related issuses:#9850
kdy1
No branches or pull requests
Describe the bug
commens loss when compiler typescript jsx element
Input code
Config
none
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.10.5-nightly-20250107.1&code=H4sIAAAAAAAAA7MJSUwqtuNSAAIbIDMgMS8VwtPXT0lJgYjro0hU62spKGemKXgGx4f5%2BzgraOnXYtEOEQkJhgoq6NthMwuLHuf83ILSktSisMzizPw8%2FNrBTknNSwG6BuQKsGyxHQDVI7WO0wAAAA%3D%3D&config=H4sIAAAAAAAAA1WPSw7DIAxE9zkF8rrbdtE79BCIOhEVBGQ7UlGUuxfCp%2B0Ov5nxmH1SCl5s4K72%2FMxD1MRIY86E0yr6nQlIisiGbBS4dFW4SEIbnuSoAoimBaWEkK%2FNDS4Exsxm7Rgb83a1c%2FrtM8FHQuZ%2FY7HqdXEjX%2BumVgk%2BPLdTbP8ot9b6G3xNvWwsBsuPnqxrjw%2BfJDr2FAEAAA%3D%3D
SWC Info output
none
Expected behavior
retain comment
Actual behavior
none
Version
1.10.4
Additional context
none
The text was updated successfully, but these errors were encountered: