.babelrc should be added to .npmignore, because the package is published pre-built. Otherwise if you have this as a dependency, the .babelrc might be picked up, but possibly you don't have the babel plugins installed, resulting in a build error.
Also related: it is better to explicitly add .npmignore, otherwise npm will fallback to the .gitignore file, with possibly unintended side-effects.
.babelrc should be added to .npmignore, because the package is published pre-built. Otherwise if you have this as a dependency, the .babelrc might be picked up, but possibly you don't have the babel plugins installed, resulting in a build error.
Also related: it is better to explicitly add .npmignore, otherwise npm will fallback to the .gitignore file, with possibly unintended side-effects.
Thanks for this plugin!