feat(create-turbo): create https://github.com/juliusmarminge/acme-corp
This commit is contained in:
22
apps/nextjs/next.config.mjs
Normal file
22
apps/nextjs/next.config.mjs
Normal 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);
|
||||
Reference in New Issue
Block a user