From afde3954315d2e07f17cab3496643570788d1f71 Mon Sep 17 00:00:00 2001 From: Jared Luxenberg Date: Tue, 24 Oct 2017 15:11:56 -0700 Subject: [PATCH] Add '.babelrc' to npmignore react-native projects use Babel 6, is incompatible with this project's .babelrc. The babelrc file for an npm module should not be in the npm package at all, since transpilation should be done before publishing to npm, so we add .babelrc file to the npmignore file. See similar issue in redux-thunk for more details https://github.com/gaearon/redux-thunk/issues/43 --- .npmignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmignore b/.npmignore index 85de9cf..b467c37 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,2 @@ src +.babelrc