function readFileEnv ({ ctx, quasarConf }) {
  const { cacheProxy } = ctx

  const opts = {
    envFolder: quasarConf.build.envFolder,
    envFiles: quasarConf.build.envFiles,
    envFilter: quasarConf.build.envFilter
  }

  const configHash = encodeForDiff(opts)
  const cache = cacheProxy.getRuntime(readFileEnvCacheKey, () => ({}))

  if (cache.configHash !== configHash) {
    const result = getFileEnvResult({
      ...opts,
      appPaths: ctx.appPaths,
      quasarMode: ctx.modeName,
      buildType: ctx.dev ? 'dev' : 'prod'
    })

    if (opts.envFilter !== void 0) {
      result.fileEnv = opts.envFilter(result.fileEnv) || {}
    }

    cacheProxy.setRuntime(readFileEnvCacheKey, {
      configHash,
      result: {
        ...result,
        envFromCache: true
      }
    })

    return result
  }

  return cache.result
}
Get the raw env definitions from the host
project env files.