JSX parsing failure when mixing ts, tsx and js files #65
Closed
hungify2022
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Using JSX inside JS will not be supported by this plugin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firstly, thanks for the useful plugin.
Context
My project is a bit of a mess.
.js
and.tsx
for the component but I got an errorI am trying to migrate from Babel to Swc with Typescript but I have some issue
I'm wondering if there's some setting
.swcrc
I can use to try to mix.js
and '.tsx' files for now.Beta Was this translation helpful? Give feedback.
All reactions