jspm_packages/npm/babel-core@5.8.38/lib/util.js
function canCompile(filename, altExts) {
  var exts = altExts || canCompile.EXTENSIONS;
  var ext = _path2["default"].extname(filename);
  return _lodashCollectionContains2["default"](exts, ext);
}
function canCompile(filename, altExts) {
  var exts = altExts || canCompile.EXTENSIONS;
  var ext = _path2["default"].extname(filename);
  return _lodashCollectionContains2["default"](exts, ext);
}
function canCompile ( filename , altExts ) { var exts = altExts || canCompile . EXTENSIONS ; var ext = _path2 [ "default" ] . extname ( filename ) ; return _lodashCollectionContains2 [ "default" ] ( exts , ext ) ; }
Test if a filename ends with a compilable extension.
Test if a filename ends with a compilable extension .