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 am using @emotion/styled in a React + Vite project. The application works fine in development, but after deploying or doing yarn build and then yarn preview, there is an error coming from emotion
To reproduce:
Set up a React project with Vite.
Install @emotion/styled and @mui/material.
Use yarn build to build the app and yarn preview to run it
Open the app in a browser and observe the error.
Expected behavior:
The app should work in production just as it does in development.
Current behavior:
I am using @emotion/styled in a React + Vite project. The application works fine in development, but after deploying or doing yarn build and then yarn preview, there is an error coming from emotion
To reproduce:
Set up a React project with Vite.
Install @emotion/styled and @mui/material.
Use yarn build to build the app and yarn preview to run it
Open the app in a browser and observe the error.
Expected behavior:
The app should work in production just as it does in development.
Environment information:
The text was updated successfully, but these errors were encountered: