mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 01:16:00 -06:00
Major framework upgrades: - Next.js 13 → 15.5.6 - React 18.2.0 → 19.2.0 - ESLint 8 → 9 with flat config migration Dependency updates: - @headlessui/react, date-fns, zod, true-myth, usehooks-ts - @typescript-eslint packages to v8 - TypeScript to v5.9.3 - Prettier to v3.6.2 Breaking changes: - Migrate from .eslintrc.json to eslint.config.mjs - Remove deprecated swcMinify option from next.config.mjs - Update all React type definitions
17 lines
391 B
JavaScript
17 lines
391 B
JavaScript
// @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,
|
|
i18n: {
|
|
locales: ["en"],
|
|
defaultLocale: "en",
|
|
},
|
|
};
|
|
export default config;
|