NewOldMax / react-form-validator-core

Core validator component for react forms
MIT License
94 stars 44 forks source link

Update dependency of react-lifecycles-compat to 3.0.2+ #18

Closed joaom182 closed 6 years ago

joaom182 commented 6 years ago

Hello,

I've using react-form-validator-core@0.4.3 on my project scaffolded by create-react-app and on build to production step react-scripts build throws the error:

Failed to minify the code from this file:
        ./node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js:64

The real problem is related here, and the solution is the react-form-validator-core upgrade the dependency version of react-lifecycles-compat to 3.0.2+ if you are using version 0.4.3.

On version 0.4.4 all works as expected.

NewOldMax commented 6 years ago

So it's not a problem, right? just use 0.4.4

joaom182 commented 6 years ago

Yes, it's not a problem, is just a warning to prevent other users from experiencing this.