This commit is contained in:
Turbobot
2024-03-21 13:41:16 +08:00
committed by giancarlo
commit bb58169fe9
204 changed files with 26228 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import "./src/env.mjs";
import "@acme/api/env";
import "@acme/stripe/env";
import withMDX from "@next/mdx";
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
/** Enables hot reloading for local packages without a build step */
transpilePackages: ["@acme/api", "@acme/db", "@acme/stripe", "@acme/ui"],
pageExtensions: ["ts", "tsx", "mdx"],
experimental: {
mdxRs: true,
},
/** We already do linting and typechecking as separate tasks in CI */
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
};
export default withMDX()(config);