code: function shouldIgnore(filename) {
    if (!ignore && !only) {
      return getRelativePath(filename).split(_path2["default"].sep).indexOf("node_modules") >= 0;
    } else {
      return util.shouldIgnore(filename, ignore || [], only);
    }
  }
docs: Test if a `filename` should be ignored by Babel.