module.exports = {
  cleanDistDir: false,
  // update me
  env: {
    nextConfigEnv: process.env.ENV_KEY_IN_NEXT_CONFIG,
    nextConfigPublicEnv: process.env.NEXT_PUBLIC_ENV_KEY_IN_NEXT_CONFIG,
  },
  async redirects() {
    return [
      {
        source: '/hello',
        permanent: false,
        destination: `/${process.env.NEXT_PUBLIC_TEST_DEST}`,
      },
    ]
  },
}
