mirror of
https://github.com/mit-regressions/viewer.git
synced 2025-04-16 17:10:18 -04:00
26 lines
570 B
JavaScript
26 lines
570 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,
|
|
|
|
// TEMPORARY. will be removed once ref and other TS errors are fixed
|
|
typescript: {
|
|
// ignore typescript errors
|
|
ignoreBuildErrors: true,
|
|
},
|
|
|
|
swcMinify: true,
|
|
i18n: {
|
|
locales: ["en"],
|
|
defaultLocale: "en",
|
|
},
|
|
};
|
|
|
|
export default config;
|