bietkul / react-reactive-form

Angular like reactive forms in React.
MIT License
309 stars 32 forks source link

When doing an optimised build I get the following error #7

Closed Michael-D-Pine closed 6 years ago

Michael-D-Pine commented 6 years ago

Hi,

I get the following error when doing an optimized build in a create-react-app.

"Failed to minify the code from this file"

    ./node_modules/react-reactive-form/src/model.js:41

Obviously works fine when just doing a "npm start" and running without any minification.

Using the following version create-react-app 4.1.2 react 4.1.2 react.dom 4.1.2 react-scripts 4.1.2

cheers Michael

bietkul commented 6 years ago

Thanks @Michael-D-Pine for reporting the issue. It has been fixed in the latest version.