function shouldInclude(name) {
  const isBindingScala = name.includes("binding.scala");

  if (isBindingScala) {
    const isTarget = name.includes("/target");
    const isTargetWeb = name.includes("/target/web");

    console.log(
      `File: ${name}\nIs Binding Scala: ${isBindingScala}\nIs Target: ${isTarget}\nIs Target Web: ${isTargetWeb}`
    );

    if (isTarget) {
      return name.endsWith("/target") || isTargetWeb;
    }
  }

  return internalExclude.every((ex) => !name.includes(ex));
}
Checks whether a given file or directory `name` should be included based on certain conditions.
@param {string} name
@returns {boolean}