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
Hi, i have project, configured with yarn workspaces.
Project structure:
node_modules
src/packages/ui-kit <- Trying to test this package
When i write transform: { react: { runtime: 'automatic', }, }, inside swc jest config i get error TypeError: (0 , _jsxRuntime.jsx) is not a function. What should i do? It seems that swc cannot find react to import runtime js file from node_modules
React version is 17.0.2 .Written as dev dependency and peer dep inside ui-kit package.json "@swc/jest": "0.2.29",
The text was updated successfully, but these errors were encountered:
Hi, i have project, configured with yarn workspaces.
Project structure:
node_modules
src/packages/ui-kit <- Trying to test this package
When i write
transform: { react: { runtime: 'automatic', }, },
inside swc jest config i get errorTypeError: (0 , _jsxRuntime.jsx) is not a function.
What should i do? It seems that swc cannot find react to import runtime js file from node_modulesReact version is 17.0.2 .Written as dev dependency and peer dep inside ui-kit package.json "@swc/jest": "0.2.29",
The text was updated successfully, but these errors were encountered: