shukerullah / react-geocode

A React module to transform a description of a location (i.e. street address, town name, etc.) into geographic coordinates (i.e. latitude and longitude) and vice versa.
MIT License
207 stars 33 forks source link

Fails to minify #9

Closed huangjoyce3 closed 6 years ago

huangjoyce3 commented 6 years ago

I was getting this error when I ran npm run build on my project. Let me know if I can provide more information. https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify image

JTDeLeon commented 6 years ago

Hello, I am having the same issue as [@huangjoyce3].

Based on the docs that are linked here it references using ES5 code, I tried reverting the version of react-geocode to version 0.0.3 and I am still having a minify issue, but it references a different line of code (index.js 29)

screen shot 2018-04-05 at 11 17 11 am

My issue still persists and look forward to receiving feedback on helping resolve this npm run build minify issue.

shukerullah commented 6 years ago

Updated module.