babel-node不再在不同的目录下工作

import credentials from '../config/credentials' ^^^^^^ SyntaxError: Unexpected reserved word 

昨天babel-node工作正常。 今天,在我的testing目录中,它不再有效。 奇怪的是,它运行我的应用程序使用ES6没有问题。

版本:5.6.14

不知道是什么原因造成这种情况发生。

我有以下.babelrc文件

 { "stage": 0, "ignore": [ "node_modules", "bower_components", "testing", "test" ] } 

哪些不允许babel-node在testing目录中工作。