viewer/viewer/next.config.mjs
2022-12-31 18:33:30 -06:00

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;