poppinss / indicative

Indicative is a simple yet powerful data validator for Node.js and browsers. It makes it so simple to write async validations on nested set of data.
https://indicative.adonisjs.com/
MIT License
417 stars 52 forks source link

Pre-compiled ES5 Version #177

Closed jrock17 closed 6 years ago

jrock17 commented 6 years ago

I'm trying to use Indicative with create-react-app but getting minify errors.

After searching, it looks like you've added this via rollup. But I'm not sure how to use to install the version I need.

Is there a way to get the pre-complied version version requested here: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify

Thanks!

thetutlage commented 6 years ago

Sure! Lemme look into this

mhemrg commented 6 years ago

Same issue here. The main.js file contains let and const keywords. With the current Babel config, it doesn't transpile them to ES5 and creact-react-app requires ES5.