-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
CRA Failed to minify the code from this file: mobx.module.js:23 #1584
Comments
I have some idea what is happening here and will investigate further on monday, but first a double check, you are using the latest version of CRA? |
I got into same issue today. After a lot of research and different attempts to solve the error, everything went in vain. |
@mweststrate i used You can get a minimal reproduction with this:
I've spent an hour looking into this but i'm not super familiar with rollup and how CRA builds work |
Thanks for the minimal reproduction @ashconnell. I reverted MobX back to using ES5 only. That should solve thte issue. Released as |
Pro tip, the default build is now ES5, but you can still use the smaller and faster build by setting up an alias. Webpack example: |
This related issue was fixed but it looks like it might be back in 5.0.0
Quickest way to reproduce is to
git clone
this repo and runyarn && yarn build
The text was updated successfully, but these errors were encountered: