You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good news: jsc.transform.verbatimModuleSyntax is definitely usable.
The confusion probably came from a JSON schema definition hiccup we will fix soon.
Check this link
Describe the feature
In the SWC documentation, it said that it is recommended to use
verbatimModuleSyntax: true
.But the actual default value of SWC is
false
and there is no place to change thatswc/crates/swc/src/config/mod.rs
Lines 1474 to 1476 in f33b0bc
This would make SWC produce different output with TypeScript:
It would be great if
jsc.transform.verbatimModuleSyntax
could be added.Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: