diff --git a/.babelrc b/.babelrc index 6bca3a9ce..91d07ec2d 100644 --- a/.babelrc +++ b/.babelrc @@ -1,17 +1,22 @@ { - "presets" : ["@babel/preset-env"], - "plugins": - ["@babel/plugin-transform-async-to-generator", - ["@babel/plugin-transform-runtime", - { - "corejs": false, - "helpers": true, - "regenerator": true, - "useESModules": false - } - ], - ["module-resolver", { + "presets": ["@babel/preset-env"], + "plugins": [ + "@babel/plugin-transform-async-to-generator", + [ + "@babel/plugin-transform-runtime", + { + "corejs": false, + "helpers": true, + "regenerator": true, + "useESModules": false + } + ], + [ + "module-resolver", + { "root": "./src" - }] + } ] -} \ No newline at end of file + ], + "ignore": ["**/*.test.js", "**/*.spec.js"] +}