RealOrangeOne / react-native-mock

A fully mocked and test-friendly version of react native (maintainers wanted)
MIT License
571 stars 153 forks source link

Ignore .babelrc through .npmignore to fix issue with react-native #47

Closed ZauberNerd closed 8 years ago

ZauberNerd commented 8 years ago

Ignore .babelrc through .npmignore to fix issue with react-native packager.

The react-native packager searches through all directories and parses .babelrc config files if it finds any. This breaks the builds if these .babelrc files are either for babel 5 or if they contain plugins unknown to the parent project.

@see: https://github.com/facebook/react-native/issues/4062

RealOrangeOne commented 8 years ago

Nice catch! Definitely something that needed to be changed!