react-boilerplate: Build Production - Minified React error #130
Description
same error to this: https://stackoverflow.com/questions/50428339/error-minified-react-error-130
in release,
develop mode is ok, not error, but only production also component has this error, no idea
i find this (@babel/plugin-transform-react-constant-element) , and remove after ok!
https://github.com/react-boilerplate/react-boilerplate/blob/master/babel.config.js#L23
thank for this react-boilerplate!
Steps to reproduce
yarn start:production

Recommend
same this handle: https://github.com/facebook/create-react-app/issues/553
Versions
- React-Boilerplate: 3.7.0
- Node/NPM: node v8.12.0 / yarn 1.12.3 / npm 6.4.1
- Browser: chrome 71.0.3578.80 x64 (osx)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (8 by maintainers)
Thanks a lot @josebrito ! The fix will be merged in #2685 and released in v4.1.
(I tested it too and it works great!)
Sure, no problem!