Errors scanning dependancies in JSX files with TS features #18203
Unanswered
RotateAt60MPH
asked this question in
Q&A
Replies: 1 comment
-
Configuring this might work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I inherited a legacy React application using webpack that I've been asked to migrate to Vite. This project has the oddity of .JSX files with Typescript-like language features. :P When I run the vite server for local debugging, I get errors like this while building the dependancies:
I realize this code is not valid JSX, but I am wondering if there a non-invasive way to get vite to accept these files before I consider converting 100's of files to .TS - which may or may not work with vite.
Beta Was this translation helpful? Give feedback.
All reactions