Skip to content

Commit

Permalink
chore: ignore webpack infrastructure warnings as a temporary solution
Browse files Browse the repository at this point in the history
  • Loading branch information
jtiala committed Nov 27, 2023
1 parent 28130a1 commit f85fc46
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/nextjs-example/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import { withContentlayer } from "next-contentlayer";

/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
reactStrictMode: true,
webpack: (config) => {
// TODO: Remove when https://github.com/vercel/next.js/issues/33693 gets resolved
config.infrastructureLogging = {
level: "error",
};

return config;
},
};

export default withContentlayer(nextConfig);

0 comments on commit f85fc46

Please sign in to comment.