docs: function resolveFile (dir, file) {
    return new Promise((resolve, reject) => {
      resolver.resolve({}, dir, file, (err, result) => {
        if (err) reject(err)
        else resolve(result)
      })
    })
  }