Repository navigation
Replies: 1 comment
|
Yeah. The line you added is the right workaround: react({ jsxImportSource: '@emotion/react' })It was fixed 12 days later in 5.0.1: #726 Bump If it still fails after the bump, the file is probably outside that tsconfig |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
My tsconfig.json includes:
before upgrading to v5, everything went smooth, after the upgrade using
cssinclassNameresults inAdding
react({ jsxImportSource: '@emotion/react' }),to vite.config.ts fixes the issue, so it may be thatjsxImportSourceis not loaded from tsconfig.json, which should be the case according to the documentation? Or any other idea what may cause this?Edit: According to #9, this may be a regression.
All reactions