Closed niftylettuce closed 9 years ago
I tried using optional: { stage: 0 }
in my webpack/babel config but it doesn't work.
You're probably configuring Babel incorrectly. You need to whitelist es7.objectRestSpread
at a minimum, and it's a good idea to enable at least the same options that RN's packager does. That's not really an issue with this repo though so closing this out.
I did whitelist it though.. On Oct 19, 2015 12:44 AM, "James Ide" notifications@github.com wrote:
You're probably configuring Babel incorrectly. You need to whitelist es7.objectRestSpread at a minimum, and it's a good idea to enable at least the same options that RN's packager does. That's not really an issue with this repo though so closing this out.
— Reply to this email directly or view it on GitHub https://github.com/ide/react-native-button/issues/10#issuecomment-149096753 .
How can I patch this with my webpack config?