node-csv-generate icon indicating copy to clipboard operation
node-csv-generate copied to clipboard

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

Open coffenbacher opened this issue 7 years ago • 2 comments

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 avatar Aug 24 '18 18:08 coffenbacher

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

https://github.com/facebook/create-react-app/issues/4907

coffenbacher avatar Aug 24 '18 18:08 coffenbacher

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

wdavidw avatar Aug 25 '18 21:08 wdavidw