-
Notifications
You must be signed in to change notification settings - Fork 275
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
0.5.13 Multiple default exports crashing meteor and babel minifier #74
Comments
hmm, interesting. 0.5.13 only have readme and changelog updates. It was a patch to fix the props table in readme. Just want to confirm, downgrading to 0.5.12 fixes your issue completely? |
@davidhu2000 I just came across this as well. Downgrading to 0.5.12 completely fixed for me. |
Yes downgrading fixes the issue completely, our diff for the fix:
I also get the same issue with |
I'm seeing a related issue on ensemble when running jest tests while react-spinners@0.5.13 is installed:
Downgrading to 0.5.12 fixes it. |
0.5.13 breaks my tests as well, downgrading to 12 worked:
|
@davidhu2000 importing like |
sounds like there is an issue with the index.ts exports. I will look into that |
Within a minimal replication repo, the change of import style resolved the problem, but our larger project has minimal replication repo/instructions: https://github.com/amsully/react_spinner_issue |
I figured it out. Looks like the This is what caught my eye finally.
All the desired files should be in the root folder, to allow for individual imports. I cloned ensemble, installed I was in the middle of converting the project to typescript and must have switched between branches to push up this patch. Version This will be something I fix in This seems to only affect meteor for some reason. I was able to minify without issues using react. |
looks like the problem is in tsconfig:
need to be changed to
|
Going to keep this open until we can confirm this is resolved |
react-spinners is not updated due to the following bug: davidhu2000/react-spinners#74
Will updating to the newest version fix it? or do I have to manually change the tsconfig? |
seems like there are a lot of users with this problem. so I'm going to deprecate this version. Hoping to release |
ok, |
This has been fixed in |
Describe the bug
Error within UI after successful build:


Error thrown during babel minification process in meteor:
To Reproduce
Steps to reproduce the behavior:
Temporary Solution
Our solution was to downgrade to version 0.5.12 until this is resolved.
The text was updated successfully, but these errors were encountered: