-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix all uses of /dist/
in type imports
#3516
Comments
Would it be preferred to use relative pathing to these types instead of from the package's main export? Wanted to ask since I was already patching a lot of this to fix my projects using 2.0. Hoping I can put out a PR for this issue. |
@eric-crowell That would lead the packages to merge into each other at bundling, which you definitely don't want to happen. |
Ah, okay. I agree, I definitely don't want that to happen. Will keep with the suggested fix if I can make a PR. |
@phryneas As I'm working this, I'm not sure how to import these without relative pathing or exposing them publicly. With ESM, How should I approach? |
Done in #3672 . |
Per Andrew Branch, these are bad and breaking things:
They should just import from the packages instead, like
@reduxjs/toolkit/query
.The text was updated successfully, but these errors were encountered: