-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
@rspc/react MJS build isn't stripping out type-only exports #291
Comments
I tried to reproduce this with Twidge and another independant project and I could not. I am certain this is a problem given enough people have reported it but if you have the time can you make a minimum reproduction it would be great for me to be able to actually test fixes. |
Tagging @johann-crabnebula as I know they hit the same problem. |
@oscartbeaumont reproducing depends on using a bundler/config that resolves to the .mjs files instead of the .js files. In any case, using export type { BaseOptions } from "@rspc/query-core"; |
Okay this is published as 0.2.2 of the respective packages. Let me know if it fixes the problem! |
Will have a look later today |
@oscartbeaumont yup it fixed the problem for me! |
The text was updated successfully, but these errors were encountered: