Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

"npm run build fails to minify" - publish a precompiled ES5 version #8

Open
coffenbacher opened this issue Aug 24, 2018 · 2 comments
Open

Comments

@coffenbacher
Copy link

I'm getting this error when I try to use the csv package in a create-react-app project.

https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify

yarn run v1.7.0
$ react-scripts build
Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/csv-generate/lib/index.js:69

Read more here: http://bit.ly/2tRViJ9

error Command failed with exit code 1.
@coffenbacher
Copy link
Author

This issue says that perhaps that isn't a good idea, on the other hand:

facebook/create-react-app#4907

@wdavidw
Copy link
Member

wdavidw commented Aug 25, 2018

There will be an es5 version soon (a week or two)!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants