Files
Homarr/apps/nextjs/next.config.mjs
2023-12-08 22:35:15 +01:00

16 lines
501 B
JavaScript

// Importing env files here to validate on build
import "./src/env.mjs";
import "@acme/auth/env.mjs";
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
/** Enables hot reloading for local packages without a build step */
transpilePackages: ["@acme/api", "@acme/auth", "@acme/db"],
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
};
export default config;