jspm_packages/npm/babel-core@5.8.38/lib/api/register/node.js
function shouldIgnore(filename) {
  if (!ignore && !only) {
    return getRelativePath(filename).split(_path2["default"].sep).indexOf("node_modules") >= 0;
  } else {
    return util.shouldIgnore(filename, ignore || [], only);
  }
}
function shouldIgnore(filename) {
  if (!ignore && !only) {
    return getRelativePath(filename).split(_path2["default"].sep).indexOf("node_modules") >= 0;
  } else {
    return util.shouldIgnore(filename, ignore || [], only);
  }
}
function shouldIgnore ( filename ) { if ( ! ignore && ! only ) { return getRelativePath ( filename ) . split ( _path2 [ "default" ] . sep ) . indexOf ( "node_modules" ) >= 0 ; } else { return util . shouldIgnore ( filename , ignore || [ ] , only ) ; } }
Test if a `filename` should be ignored by Babel.
Test if a filename should be ignored by Babel .