code: function get(option) {
      if (option && option.resolvePaths && Array.isArray(option.resolvePaths)) {
          return option.resolvePaths.map(String)
      }
      return null
  }
docs: Gets `resolvePaths` property from a given option object.
  
  @param {object|undefined} option - An option object to get.
  @returns {string[]|null} The `allowModules` value, or `null`.