You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using json-rules-engine-simplified paired with react-jsonschema-form-conditionals for a web app that I'm building using create-react-app.
The form works perfectly well when in development mode. However, I'm unable to build the app for deployment because create-react-app does not minify ES6 features. This issue affects this module because it depends on Predicate, which uses ES6.
I spoke with the maintainer of that project, and they are hoping to stick with ES6 as their entry point. So I'm posting here to suggest importing predicate/dist/predicate instead of just predicate. This file is just Predicate transpiled to ES5.
The affected files are:
src/checkField.js
src/validation.js
The text was updated successfully, but these errors were encountered:
See Predicate issue #10
I'm using json-rules-engine-simplified paired with react-jsonschema-form-conditionals for a web app that I'm building using create-react-app.
The form works perfectly well when in development mode. However, I'm unable to build the app for deployment because create-react-app does not minify ES6 features. This issue affects this module because it depends on Predicate, which uses ES6.
I spoke with the maintainer of that project, and they are hoping to stick with ES6 as their entry point. So I'm posting here to suggest importing
predicate/dist/predicate
instead of justpredicate
. This file is just Predicate transpiled to ES5.The affected files are:
The text was updated successfully, but these errors were encountered: