-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plug-in does not appear to work.. What did I do wrong? #4
Comments
You're using it in library mode, right? That's a problem because I don't know library mode very well, but I would suggest you do two builds, one for the server and one for the client. Then you can use conditional I'll investigate the library mode and come back with more certainty on how to proceed. |
thanks you for reply! I used a because it was introduced in this issue, but I didn't know it was for SSR. My purpose is to build and distribute react libraries using emotion as vites. Thank you again for your help. I'll look into it more and come back. |
I just released version But I think a better option for you is to set Hope this helps! |
here is my vite.config and build result.
I want to unwrap default imports @emotion by using this plugin.
But Doesn't seem to have applied to the build result.
what did i do wrong??
The text was updated successfully, but these errors were encountered: