next.js/test/e2e/app-dir/next-config-ts-native-ts/nested-imports/next.config.ts
next.config.ts15 lines311 B
import type { NextConfig } from 'next'
import { foobarbaz } from './foo.ts'

// top-level await will only work in Native TS mode.
// This is to ensure that the test is running in Native TS mode.
await Promise.resolve()

const nextConfig: NextConfig = {
  env: {
    foobarbaz,
  },
}

export default nextConfig
Quest for Codev2.0.0
/
SIGN IN