babel config causes error with React Native
tyscorp opened this issue · comments
Having the "babel" key in package.json seems to throw an error when required from React Native.
The specific error is:
ReferenceError: Unknown plugin "add-module-exports" specified in "node_modules/es6-error/package.json" at 0, attempted to resolve relative to "node_modules/es6-error"
Fixing this should be as simple as moving the config to a .babelrc file.
Fixed by #20 (v3.0.1).