docs: function isRequiresEarlyResolve(rules) {
    for (let i = 0; i < rules.length; ++i) {
      if (
        Object.prototype.hasOwnProperty.call(rules[i], 'module') ||
        (Object.prototype.hasOwnProperty.call(rules[i], 'append') && rules[i].append)
      ) {
        return true;
      }
    }
    return false;
  }