2022-11-15 17:03:19 +00:00
|
|
|
// @ts-check
|
|
|
|
/**
|
|
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
|
|
|
|
* This is especially useful for Docker builds.
|
|
|
|
*/
|
|
|
|
!process.env.SKIP_ENV_VALIDATION && (await import("./src/env/server.mjs"));
|
|
|
|
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
|
|
const config = {
|
|
|
|
reactStrictMode: true,
|
|
|
|
swcMinify: true,
|
2022-11-15 17:14:59 +00:00
|
|
|
experimental: {
|
|
|
|
transpilePackages: [],
|
|
|
|
},
|
2022-11-15 17:03:19 +00:00
|
|
|
i18n: {
|
|
|
|
locales: ["en"],
|
|
|
|
defaultLocale: "en",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
export default config;
|