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
Create-React-App Fails to Minify #14
Comments
Hey @ilrein, thanks for the detailed report 💯 Fixed on master. Will push out a new release later tonight. |
hey @ankane I'm getting this error on 0.1.7 however the error points to ./node_modules/chartkick/src/helpers.js:15 |
just realized both projects are yours |
Make sure you’re on the latest chartkick (2.3.4) |
Fixed in ankane/chartkick.js#97 |
Github says last version is 2.3.3, which confused me. I updated the package.json and it worked thanks |
Where does it show that? |
The aforementioned toolset for spinning up React apps fails to compile for production this package.
The exact message:
Looking at the code, it seems to throw an err at the first arrow function:
It's referenced in the README to this issue: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
Basically the package is published and the "main" of package.json references the non-babel transpiled code. This package won't work unless an ES5 version is the main export.
The text was updated successfully, but these errors were encountered: