Add babelrc.json support (#10783)

* Add babelrc.json support

* Add tests

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
Yordis Prieto
2020-01-10 14:41:42 -08:00
committed by Nicolò Ribaudo
parent ae06baf22f
commit 4c28f54152
4 changed files with 33 additions and 23 deletions

View File

@@ -32,6 +32,7 @@ const RELATIVE_CONFIG_FILENAMES = [
".babelrc.js",
".babelrc.cjs",
".babelrc.mjs",
".babelrc.json",
];
const BABELIGNORE_FILENAME = ".babelignore";