As typescript support is embedded in
swc by default,
swc handles it out of the box.
You don't need any configuration to use typescript. Also note that It also detects
tsx and automatically enables
tsx for the files whose name ends with
is transcompiled as
Exclude fields in
.swcrc now works correctly.