-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
[BUG] ESM dependencies are not resolved correctly during build #976
Comments
My 2 cents on this: I noticed react-tooltip does not declare an |
Hi, can you try this beta version and let me know if it worked, please?
|
Hi, it doesn't work yet:
|
I can confirm the repro locally, I'm gonna try some things |
FYI, the bug does not appear in v5.8.3, but does since 5.9.0. I got it to work by renaming the ESM dist file with |
Hey @jbarriospd, sorry for the delay. Can you let us know if |
thanks, it works! |
Fix available on official release |
Describe the bug
I'm using Astro framework. When run the project in dev mode no problem but I trying to build the project I have error.
This error occurs during build when multi-distribution (CJS, ESM) packages are imported.
Version of Package
v5.9.0
To Reproduce
npm run build
in https://github.com/jbarriospd/Encuesta-Colombia-Dev)Expected behavior
It should build the application without error of package
Screenshots
I have this log when I try to build:
Desktop (please complete the following information if possible or delete this section):
Thanks 💚
The text was updated successfully, but these errors were encountered: