docs: function mapFiles(files, relative, required) {
    if (!files) {
      return []
    }
  
    if (Array.isArray(files) === false) {
      files = [files]
    }
  
    return files.map(f => ({
      file: resolvePath(relative, f),
      required: required
    }))
  }