var path = require('path');

module.exports = function(f, stat) {
    let parts = f.split(path.sep);
    return parts.indexOf('src') !== -1 || parts.indexOf('style') !== -1;
}

@@ -67,11 +67,11 @@
     
-let
+var
  par

Switch from `let` to `var` to support older versions of node.