/ next.config.mjs
next.config.mjs
 1  /**
 2   * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
 3   * for Docker builds.
 4   */
 5  await import("./src/env.mjs");
 6  
 7  /** @type {import("next").NextConfig} */
 8  const config = {
 9    reactStrictMode: true,
10  
11    /**
12     * If you are using `appDir` then you must comment the below `i18n` config out.
13     *
14     * @see https://github.com/vercel/next.js/issues/41980
15     */
16    i18n: {
17      locales: ["en"],
18      defaultLocale: "en",
19    },
20  };
21  
22  export default config;