node-csv-generate
node-csv-generate copied to clipboard
"npm run build fails to minify" - publish a precompiled ES5 version
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.
This issue says that perhaps that isn't a good idea, on the other hand:
https://github.com/facebook/create-react-app/issues/4907
There will be an es5 version soon (a week or two)!