diff options
Diffstat (limited to 'benchmark/frontend/next.config.mjs')
-rw-r--r-- | benchmark/frontend/next.config.mjs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmark/frontend/next.config.mjs b/benchmark/frontend/next.config.mjs new file mode 100644 index 000000000..61964ea73 --- /dev/null +++ b/benchmark/frontend/next.config.mjs @@ -0,0 +1,22 @@ +/** + * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful + * for Docker builds. + */ +await import("./src/env.mjs"); + +/** @type {import("next").NextConfig} */ +const config = { + reactStrictMode: true, + + /** + * If you are using `appDir` then you must comment the below `i18n` config out. + * + * @see https://github.com/vercel/next.js/issues/41980 + */ + i18n: { + locales: ["en"], + defaultLocale: "en", + }, +}; + +export default config; |