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
I have upgraded vite-plugin-react-swc to latest which uses latest swc 1.3.89. When trying to import theme from Antd design https://github.com/Kamahl19/react-starter/blob/main/src/common/styleUtils.ts#L3 it throws ReferenceError: theme is not defined. When I use override to use v1.3.88, it works. Is the issue caused by SWC, vite plugin or is there a problem in Antd exports? Since this is the patch upgrade, shouldnt it be backward compatible? Thanks!
Input code
No response
Config
No response
Playground link
No response
SWC Info output
No response
Expected behavior
Should import same as in 1.3.88
Actual behavior
Throws ReferenceError: theme is not defined
Version
1.3.89
Additional context
No response
The text was updated successfully, but these errors were encountered:
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
I have upgraded vite-plugin-react-swc to latest which uses latest swc 1.3.89. When trying to import
theme
from Antd design https://github.com/Kamahl19/react-starter/blob/main/src/common/styleUtils.ts#L3 it throwsReferenceError: theme is not defined
. When I use override to use v1.3.88, it works. Is the issue caused by SWC, vite plugin or is there a problem in Antd exports? Since this is the patch upgrade, shouldnt it be backward compatible? Thanks!Input code
No response
Config
No response
Playground link
No response
SWC Info output
No response
Expected behavior
Should import same as in 1.3.88
Actual behavior
Throws ReferenceError: theme is not defined
Version
1.3.89
Additional context
No response
The text was updated successfully, but these errors were encountered: