next.config.mjs — ui Source File
Architecture documentation for next.config.mjs, a javascript file in the ui codebase.
Entity Profile
Source Code
/**
* 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 have `experimental: { appDir: true }` set, 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;
Source
Frequently Asked Questions
What does next.config.mjs do?
next.config.mjs is a source file in the ui codebase, written in javascript.
Where is next.config.mjs in the architecture?
next.config.mjs is located at packages/shadcn/test/fixtures/frameworks/t3-pages/next.config.mjs (directory: packages/shadcn/test/fixtures/frameworks/t3-pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free