<template>
  <slot :env="env" />
</template>

<script setup lang="ts">
const env = computed(() =>
  Object.entries(import.meta.env).reduce(
    (acc, [key, value]) => ({
      ...acc,
      [key]: value,
    }),
    {} as ImportMetaEnv,
  ),
)
</script>
